Simply hand in your notice and tell them why you are leaving. They will probably let you go immediately. On a wider note, I don’t think you should consider episodes such as this as a threat to your mental health. It’s simply a problem – a bit of aggravation that you must deal with. You will face situations like this throughout your life. All part of life’s rich tapestry but no threat to your mental health.