The princess looked very sad. She told the magician that she would marry him. She asked him to give her his glass, and she gave her glass to him. They touched glasses, and both drank the wine. The magician finished his wine first. Suddenly, he had a strange look on his face and fell down dead. Aladdin was waiting in the princess's closet. He jumped out and took the lamp from the magician. He rubbed the lamp, and told the genie to take them home.
In a flash, everything was back in its old place. The princess put her arms around Aladdin and kissed him. From that day on, they lived happily ever after.