Aladdin comes and rescues lamp as Zafar and Zeher throw it into the lava. Yasmine and Zeher fight. This is Yasmine's ploy to keep Zeher away from Zafar. Zafar and Aladdin fight at the other end of the cave and Zafar manages to take back lamp. Zafar reaches a dead end hence has nowhere else to go and decides to fall with the lamp. The lamp goes into the lava and Zafar dies. At the same time, Malika turns from a stone into human form.