Finally he went down to the bottom of the stairs, intending to go toward the light in the garden, where he had been before. But the walls, which had been opened by magic, were now shut by the same means. The poor boy felt all around him several times, but could not discover the least opening. He then cried aloud and sat down upon the step of his dungeon, without the least hope of ever seeing the light of day again.
Instantly a horrid-looking genie rose out of the earth. This genie, who was so extremely tall that his head touched the roof, addressed these words to Aladdin: “What do you wish? I am ready to obey you as your slave, both I and the other slaves of the ring.” Weak and terrified, and scarcely daring to hope, Aladdin cried, “Whoever you are, take me out of this place, if you are able!” No sooner had his lips formed the words than he found himself on the outside of the cave, at the very spot where the magician had left him. Almost unable to believe his good fortune, he arose trembling, and seeing the city in the distance, made his way back by the same road over which he had come. Such a long weary road he found it to his mother’s door that when he reached it, he was fainting from hunger and fatigue.