How to recover the unsaved scripts if the SSMS crashes / unsaved tab gets accidentally closed?
I was able to recover my files from the following location:
C:\Users\\Documents\SQL Server Management Studio\Backup Files\Solution1
There should be different recovery files per tab. I'd say look for the files for the date you lost them.