What was the teacher's role while the child was with them?
While a child was in school, a teacher was expected to act as a substitute parent, with all the normal forms of parental discipline open to them.