Was on notice period. A senior person joined and started criticizing our way of working (campaign management) and started parachuting ideas from their old job which would have not worked.
No one was ready to state obvious. I was carefree (notice period) so stated obvious and ended up having shouting match in a conference room with entire team as spectator. Thought things are over.
Skipped couple of jobs over next few years and was settling in nicely in a new company. And lo behold the senior person (with whom I had shouting match) gets recruited as my manager.
Had to work hard , to mend fences.
Lesson learned, you never know when you will need someone so keep relationship coordial with everyone. As long as you keep your boss happy, everything else is someone else's problem.