Not sure what you mean by backup/restore etc but you can unenrol via course admin>assign roles and then take them out of the role of student by moving them from the left block back into the right block.
Enrolment
Unenroll students
This discussion has been locked so you can no longer reply to it.