Yeah when i get into a cynical or, even worse a nihilistic mood, i think i turn toxic myself actually, im ashamed to admit.
But i can confirm it does help to not fuel or engage with people when theyre toxic. Its thier problem to deal with, and not you responsability. Its like you sweep the carpet from underneath thier feet. And the only thing they can do is remain toxic, or calm down, and the latter will happen with a little patience.
I havent been like that in quite a while, but i think i do still have it in me sometimes.