Teachers are team owners and can remove co-teachers from a class team. Removing a co-teacher removes their owner permissions in the team.
Remove a co-teacher
Navigate to a class team and select More options > Manage team.
Navigate to the co-teacher you're removing and change their role from Owner to Member by selecting the downward arrow.
Now, select the X at the end of the co-teacher's row underneath Members and guests. The co-teacher will be removed from your class.