The return to office mandate at my company has definitely made most people at my company unhappy. Especially because it's obviously being done as a way to encourage people to quit. As a senior developer I've stopped caring about the company plan. If upper management doesn't care about employees, I don't care about deliverables. As the person that does most the technical interviewing anyways I know they won't be able to find any replacements in a reasonable time.
My buddy senior engineer left recently. And you know what happened? Nothing! His salary was a nice saving for a company. And his work was divided on the shoulders of those who didn’t quit. Management showed the priorities.