Look for the channel you wish to leave in the navigation bar on your sidebar.
Hover your cursor over the channel you wish to leave.
Click the three dots then select "Leave" and confirm.
Leave a channel once your class is over or when you no longer need it