Before you DO ANYTHING (else to make things worse)
Read the last 2 Questions in this
FAQ section
https://manual.calibre-ebook.com/faq...ary-management
The FAQ's will
help you recover as much as possible. (some things may be lost, others will have older, stale duplicates.)
The only thing you could have done worse, would have put things on Google Drive