iCloud Drive files lost on mac

I was trying to switch my AppleID account on my Mac due to previous issues with the original email used. I pressed “save a copy” before signing out and the page disappeared so i thought it was done. Upon signing out, all of my files were lost in iCloud Drive. Is there a way to retrieve them?