I've had exactly that mandatory relocation thing happen to me just recently as a remote worker. Been put on notice due to being unable to relocate. HR once had the gall to tell me, in their classic, subtly manipulative way, that if I don't come to office, people in office would "seize opportunities." My only thought was, isn't it your damn job to ensure everyone gets a fair shot at any opportunity?
I also hate that I had to make up excuses for staying remote when they opened the office, instead of them simply understanding that I'm better suited to working from home, which I had for 2 years. I used to handle all my responsibilities without letting any personal circumstances ever get in the way of work. As a matter of fact, the opposite was the norm, work used to heavily encroach on my personal time.