Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
1
Uninstall Microsoft 365 from your Mac.
2
You need to remove the MIcrosoft 365 licence from your Mac, so you can successfully switch back to Office 2019.
3
Then, go to your Microsoft account on this link to download and re-install Office 2019.