Step 0. Do you have automatic backups turned on? (Tools/Preferences, Data Management, Backup, Auto save. Note the path; change it to a more convenient place if you like.)
Step 1. Check the backups. If you see a file, of the same name but with ".~(1)" numbers added on, with a newer "Modified" date, open it.
Step 2. Check that the file still looks right and all, then when you're satisfied, save it over the original project file.
Tim