Hi, and welcome!
I have heard reports that work-in-progress was recovered after this type of problems but I don't think you can rely on it always happening that way. I'm reliably told that the RStudio Cloud team actively monitor posts with this tag and respond. I don't know how long to expect, though.
For future reference
Please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers.