The child's father alleged that he had sought permission to go to the washroom during class which the teacher denied, police said.