Coping by trying my best to become the type of person that I aspire to be. Quit weed, alcohol, caffeine. Lost 20lbs of fat and put on some muscle. Run 6 days a week, lift 3-4 days a week. Meal prep all my foods and getting into a good routine about those things.
Taught myself Rust and ECS and tried my hand at building a game. Built an Arduino prototype of some hardware a friend wanted to see exist, but ended up not trying to take it further. Built a website to help people play a video game better, it became popular while the game was trending, and made ~3-6k/mo running ads on the site. Went to Burning Man for the first time.
Now I'm kind of out of things that sound fun/purposeful and having a purpose dropped into my lap by working on an ongoing project with an existing team sounds more appealing than it did when I left the work world. So, slowly going back that way and hoping to hold onto all my good vibes and positive habits as I do so.
It's not exactly what I expected to spend three years of unemployment doing. I wish I felt more "accomplished" in how I used my time. But idk. Just kept myself busy with things that sounded meaningful in the moment. Now making money sounds more appealing than having more free time so hopefully jumping back in isn't too much of a shock.