You do this in Manage team.
- Make owner: makes a member the owner. That only works if the other person's plan has room for another team; the team's pages then count towards the new owner.
- Leave team: the team folder stays with the team. As owner you hand the team over first.
- Delete team: type the name of the team to confirm. The team folder goes to your trash.