You can unenrol students by unassigning them the role of student. Multiple users may be selected by holding down the Apple or Ctrl key whilst clicking on the users' names.
Alternatively, you could backup your courses without user data and then restore them, or use the course reset feature.
Please see the documentation Assign roles
, Course backup
and Reset course
for further details of each of these methods.