But it was still an ultimatum. Acting like she was fired out of the blue is dishonest. She threatened to resign unless things changed so good fired her.
Maybe "resignation" doesn't meet your criteria. But "firing" implied that the employee wanted to keep their job but the company ended it.
Would you accept "mutual termination" ?
[1] https://twitter.com/timnitgebru/status/1334341991795142667