Sure. He “resigned”.
There’s no evidence he was coerced or even pressured to resign.
The point is that there’s no legal mechanism for removing a Pope against his will.