Edits lost mid-session

I was just making edits and left Scrivener open on my laptop. I opened my email and when I came back to the open Scrivener window, my edits were all gone. I was only in my email for a couple of minutes. Undo is not working. What did I do? How can I get those edits back?

Thanks
Lori