The first impact of the slap was that the boy burst into tears. He is not used to getting such slaps as he is a much pampered boy at home. When teacher tries to make him stop crying and behave like a soldier, the boy retorts saying that a soldier would shoot with a gun if he was hit. The next impact is that the boy becomes stubborn and he wants to blackmail the teacher.
He wants the teacher to stop teaching and play with him with a toy train. The teacher would be the station master. First the teacher refuses and then the boy threatens him by saying he would report the slapping to his parents. The teacher has no way but to please the boy. Soon the train breaks down. And then boy wants to teacher to tell him stories. He tells the stories of the tiger and the bison and the story of Ali Baba and 40 Thieves. The boy wants to the story of the tiger and the bison repeated.
When teacher refuses the boy again threatens him and runs home. The teacher runs behind to catch him. It is obvious that the slapping has no positive effect on the boy. It has only made him more stubborn.