Accidentally closed Audacity before saving

I am on Windows 7. Audacity 2.1.2.

Accidentally closed Audacity before saving the file or exporting. I tried going to the temporary folder (SessionData) but nothing is there. Is there any other way to recover what I recorded?

When you close an Audacity project that has not been saved, Audacity prompts you once to “Save project before closing?”. If you dismiss that message and close anyway without saving, then the project is not saved and there is nothing that can be recovered.