Calling it firing isn't acting like it was out of the blue.
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