This fits - He was being blackmailed by the affair. So he resigns as requested, then lets everyone know that he will not go quietly in the night. He is ready to sing like a canary ?
Can’t help but wonder just how long the affair went on before he decided that it was “unacceptable in a leader”?