You can logout of Messages on a Mac by launching the Messages application and going to your account settings. Start by selecting Messages from the top menu bar, then click on Preferences. Navigate to the iMessage tab so that you can see the Apple Account currently being used by the application. Look for the Sign Out option and click it. If macOS prompts you for confirmation to log out, click Yes, and that will sign you out of iMessages. Your messages remain in other places as signing out of iMessages does not automatically delete them. If you want to use Messages again, simply start the application and log in. |