In the fine print it said they wanted him to join other students in study hall… which isn't exactly forcing him to participate, but does appear to punish or ostracize him.
That the teachers left the classroom is an implicit endorsement and support of the walkout, versus treating it as an act of disobedience.