If you've joined a team by accident or simply wish to leave a team, you can achieve this from the Edit My Details page of your Dashboard. 

Simply de-select the 'I am a member of...' box on the Edit My Details page and press Update. This will instantly remove you from the team.