Hello dalorian,
Welcome to the Microsoft Community.
I'm sorry to hear that OneDrive has inconvenienced you by causing important files to disappear.
This is usually caused by OneDrive's backup option, which causes folders like desktop, photos, documents, etc. to be uploaded to the cloud. Now that this has happened, I suggest you refer to the following steps to try and locate them.
Visit OneDrive Web and navigate to “My Files” on the left side and try to find the lost files here. You can also try to retrieve them by searching for the file name directly in the top search bar.
If a OneDrive file has been accidentally deleted, it will be moved to the OneDrive Recycle Bin, where you can also try to find it.
You can also just press the Windows key and search for the file name to see if you can find any copies that exist on your computer.
If you are able to retrieve them, it is recommended that you simply uninstall the OneDrive app to avoid incorrect synchronization.
Refer to the following method to uninstall the OneDrive app.
Windows 10/11
Select the Start button, type Programs in the search box, and then select Add or remove programs in the list of results.
Open installed apps
Under Apps & features, find and select Microsoft OneDrive, and then select Uninstall. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Refer to Turn off, disable, or uninstall OneDrive - Microsoft Support if necessary.
I hope this is useful and please feel free to respond if you need further support.
Best regards,
Ian - MSFT | Microsoft Community Support Specialist