i feel lucky that i was laid off early in my career. now i just don't care, take nothing for granted, and i pretty much always assume the corp will fuck me over at any given time
honestly i just drank and played videogames for a while and found another better higher paying job in a couple weeks. presumably there are other remote options for you?
Yes, what you learn afterwards is to never, ever be beholden to your job as you must always have an exit strategy. A healthy savings account to get you through a long period of unemployment is what you need. Also, make sure to maximize all unemployment insurance to the fullest and all other benefits you can qualify for. You want to make sure to miss nothing. I'd also start dramatically reducing outgoings for everything so your savings go further.
If you can then take your time before taking up another opportunity. Sometimes getting another job isn't the most desirable thing until you're rested up and ready for the corporate grind again.