Instead of accepting Alibaba's solution, Cassim ignites a rebellion claiming that despite being removed from power, the monarchy still must be executed for their crimes against the people. Meanwhile, Aladdin's spirit is brought before Ugo, now reduced to just his head, who reveals to him that Alibaba and the others are in danger by the devices of those who intend to disrupt the natural flow of Rukh and cover the world in darkness. To fight them back Ugo sends Aladdin into a portal for him to be bestowed with the "Wisdom of Solomon" while bidding farewell to him, as according to Ugo, they will never meet again. Back at the palace, Alibaba confronts and defeats Cassim and the rest of the Fog Troupe, but instead of surrendering, Cassim stabs himself with his magic sword, drawing all the troupe's other swords to his body and transforming him into a huge black monster.