If a student is "bad" enough they get punished by getting to stay out of school for a set number of days. Frequently imposed as a punishment for truancy and lateness; suspension certainly makes no logical sense.

Some school systems have begun what is called "in school suspension" where the student still comes to school but does not attend regular classes. The student is isolated in a room set aside for this purpose and left to do his/her schoolwork there.

(this is not an endorsement of the practice)