They didn't really leave room for the happyish ending they tried there. The prophet had set something in motion with the children and the mines. When they saw that he had "lit the torch" what ever it was was in motion. If he changed his mind and wanted to be with his mother, there was never a moment of "Oh my God, I have to stop the children".