Within Teamwork Chat, you can log out at any time from your profile drop down menu. 

Click on your profile icon and select Log out from the menu. 

Image Placeholder

For more information, see: Logging in to the Teamwork Chat app