They can take away WFH. It’s pretty simple. “You are required in the office.” They will eventually back fill those roles or make those that are left to fill the gap. Either way, they can and will soon.
And then they'll wonder why they can't retain talent. "Must be this generation's work ethic and morals," they'll say, without a shred of self-awareness.
Atm the job market is still hot. But the tide is turning (or so the economists say). When/if this happens it's going to be an employers' market and if the employers' require a butt in the chair there's not much you can do.
IMO though full remote is not without serious downsides for the workers as well. Globalized market with localized salaries and alienation being just two of them. Being in my third year of fully remote I can testify to the second one.