Dang bro, that sucks. During the skidadl meltdown of 2015-2016 I sort of let my business go to shit after many years. I was so poor for several months and I had no idea how to get myself moving. It was a very humbling time in my life. So much of my identity was in my work/success and I felt like a loser. Obviously there were other things going as well.
Clearly this wasn't your own doing, didn't mean to sound that way. Mine was due to circumstances and such combined with my own fault.
Anyhoo, things tend to work themselves out. I don't have any pointers other than not letting yourself get too down or stagnant. Hopefully you'll find a good match quickly and get reengergized at a new gig. Who knows, this might be just the thing that ended up being good for your life.