A deleted file in iCloud Drive disappears from every device at once. That sounds final, but for a while it usually isn’t.
Sign in on the web and look in these two places:
icloud.com/iclouddrive > Recently Deleted
icloud.com/recovery > Restore Files
Recently Deleted is the first stop: select a file and recover it, or recover everything in one go. Data Recovery is the second, and it also covers files from other apps. Restored files return to the folder they came from, so look there and not on your desktop.
I find it worth knowing about before I need it, because the clock is 30 days from the moment of deletion. Someone who notices a missing spreadsheet after two months is too late.
While a restore is running, leave your iCloud Drive alone. Apple says editing or deleting files in the meantime can interrupt it.
Files you removed permanently are gone, and this window is no replacement for a real backup. Sync copies your mistakes to every device just as happily as your good edits, so I would keep a Time Machine disk or another separate copy of anything that matters.
Further reading: If you're missing files in iCloud Drive