To remove a teacher's or admin's affiliation with your school account, go to the Staff tab of your Admin dashboard. Find the person you want to remove, click on the three dots next to their name and choose 'View profile'. After that click 'Manage account' and then 'Remove from school account'.
It is not currently possible to remove students from your school account, but you can remove them from classes.