I quit an 18 year career after my 2nd hospitalization. Didn't even go back to the office to collect my things. Called 'em from the hospital and told 'em I wouldn't be back ... And, I NEVER regretted that decision!
I had a job the next day. I went up to the corner convenience store and asked were they hiring. The manager asked what hours I could work and I told him I'd work 3rd shifts on Friday, Saturday, Sunday, Tuesday & Wednesday and got hired on the spot.
At that time I needed a low stress job and it suited my for 7 years while I worked on the heavier parts of my mental health, addiction and recovery process and this ended up being a perfect fit for me.
I am now back in a job that involves more responsibility and that has better pay and great benefits. I know that had I not left the toxic environment of the other one, I wouldn't even be here typing this now.
I wish you the best in whatever you decide ...