According to your description, please follow the below article, check your Recycle Bin (Windows) or Trash (Mac) to see if your files are there, and go to the OneDrive website, check the Recycle bin.
"Restore deleted files or folders in OneDrive"
Besides, if you have Microsoft 365 subscription, you can also refer to "Restore your OneDrive", Microsoft 365 subscribers can undo all the actions that occurred on both files and folders within the last 30 days.
Hope the information could be helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.