If your workspace has been deactivated, it will show up within your profile menu as locked and greyed out. Alternatively, if you wish to leave the team workspace, you can click the ... button on the right and select Leave workspace.
If you're an owner, you can still click in to the workspace to reactivate the workspace by managing your subscription.
Here's an article detailing what happens if a workspace is deactivated.