Not sure if helpful, but I put myself in your situation and thought what I'd do, while being aware of the fact that there's different between theory and practice.
I would embrace solitude for some time and direct all my energy into becoming a master in my field/skill.
It would help in many ways -
I) Help my mind concentrate on something, and overcome bad mental state which gets amplified due to various distractions,
II) Help me get better opportunities in future, which would increase my package, help me get out of toxic work culture and also give an option to move to a city where I'd feel good