How do I logout of the desktop application?

How do I logout of the desktop application?

On the welcome screen, click on the avatar icon and click on Log out and Restart.