The main menu is destroyed, and most buttons—including the "Quit" button—are non-functional.
The official workaround? Mojang support unofficially advises: “Use a third-party launcher like MultiMC or Prism Launcher on macOS.” Minecraft Error 422 Download For Mac