I was working for XY. In month 4, the egomaniac CTO called his nearly 40 employees to the meeting room just to humiliate me. He made me connect my laptop to the projector to revert a change he perceived as disobedient while the others watched. I quit on the spot. He was fired for this and I got a clean experience letter (stating I quit). I could have stayed at this company but his favourites (who could resent me) are still there and its very bad there: it took 1.5 years to release what was a 4 month project.
I worked 5 years and 4 jobs, which won't inspire confidence in an interviewer. How do I explain to an interviewer to a employee or freelance contract position I had to quit because of these circumstances? The other stakeholders agree I suffered an injustice but I don't want an awkward reference-checking call.
I'm working in India.