How do you force someone to resign?
It's basically the idea that you're being subjected to something outside of your contract that has made it impossible (in your view) to keep working for the company, and the company is not willing to accomodate you.
Refusing to go to office when your contract says you are a remote employee is a textbook case of constructive dismissal.
"You are placing a requirement on me that I find impossible to satisfy and you are not willing to negotiate. Therefore I am forced to resign"