This was going to end badly.
My boss screamed at me in front of my colleagues. I had done something wrong of course. I had sent a product to the client without debugging it thoroughly. It was my fault. But I don’t like being yelled at.
And fortunately I was sitting on a job offer that I decided to take that moment. So the next day I said the magic words, “I quit”.