I managed pretty well. I'm a naturally introverted person, which is perhaps a good trait to have in this situation. I'm already used to spending a lot of time by myself and I have things I like to do. This is key, I think. I spent long hours making DJ mixes in Ableton and playing records on my hi-fi. That's a creative place for me and it was very satisfying to have the time to bury myself in it.
I wrote code, not heaps, but I played around with a few things.
I dug up some old/remake computer games (Half Life Black Mesa was by far the best)! I watched a bunch of old films I haven't seen in years, and a few bits and pieces on Netflix. I read books. I went for a 1hr walk every day and enjoyed the sight of trees and the sound of birds. I said a sincere thanks and smiled with my eyes at the people who staff the stores I shopped at once/twice a week. They have a hard job and I think it's important to convey gratitude to them.
I'd be lying if I said it was all fine, there were definitely days when I was bored stiff, depressed or otherwise not in a great place, but it was helpful to remember that everyone was in the same boat, and my sacrifice, along with everyone else's, are what is going to pull us through.
Keep your chins up. Especially you guys in the USA. What a mess you have to fix over there. I hope this year is productive.