That wasn't revenge, that was removing the source of the problem. It's not an unlikely behavior at all for an LLM tuned to be proactive.