The songbird that brought her the trinkets also showed her where the stones were uneven and could be used to climb. Even with Alexander's ring, knowing he was here, she planned how to escape, or failing that, how to seize the lamp. While it might be distasteful to order a jinn to destroy its former owner, the threat would be neutralized and she could them return her mind to solving the troubles of the islands around her.
Princesses Saving Themselves