Solution 1:

The command you're looking for is /scoreboard teams leave playername. This will remove the selected player from whichever team they're on. For more reference on scoreboard commands, the wiki is an excellent resource.