Open your Desktop app preferences by right-clicking over the desktop icon of the Dropbox app. Now click on the Account tab. Click on the Sign out options and this app extension will be logged out from your Dropbox account. Confirm your command to proceed.