Sign out of Microsoft 365
Signing out of your Microsoft 365 or Office apps lets you disconnect the app from services like OneDrive, removes your settings, and clears the list of frequently used documents. You can sign out of Microsoft 365 or Office from within any Microsoft 365 or Office app. You can also use a web browser to sign out of Microsoft 365 or Office remotely.
See instructions below:
https://support.microsoft.com/en-us/office/sign-out-of-office-5a20dc11-47e9-4b6f-945d-478cb6d92071