This wikiHow teaches you how to sign out of a Discord account on a computer or on a Mac.
Step

Step 1. Open Discord
The Discord icon is a white game controller in front of a blue background. If you are using Windows, this icon is in the Windows menu. If you're on a Mac, you can look for it on Launchpad.
If you access Discord via a browser, go to https://www.discordapp.com and click the button Open.

Step 2. Click the button
It's near your username at the bottom left of the screen. Clicking on it will open the User Settings window.

Step 3. Move the left column down and click the Log Out button
After that, a confirmation window will appear on the screen.

Step 4. Click the Log Out button to confirm
After that, you sign out of your Discord account.