The Yellow Robe Monster saw that Sun Wukong was vastly powerful, so he conjured a demonic wind, raising dust and scattering stones, blinding Wukong, and took the chance to flee back into his cave. Sun Wukong returned to the Precious Elephant Kingdom and informed them of the monster's capabilities. Zhu Bajie refused to accept this, saying: "Elder Brother, don't boast! Let me, Old Pig, go and confront him!" Wukong laughed and said: "You blockhead, don't try to act tough." Zhu Bajie did not listen and went with Sha Wujing to the Moon Wave Cave. The Yellow Robe Monster lured Zhu Bajie into the mountains, spewed poisonous smoke, captured him, and hung him inside the cave. Sha Wujing, unable to withstand the monster, fled back to the Precious Elephant Kingdom.
Seeing Sha Wujing return alone, Sun Wukong knew that Zhu Bajie had met with misfortune and grew even more furious. He then resolved to use a clever trick. He transformed into the image of Princess HundredFlowerShame, sneaking into the Moon Wave Cave. The Yellow Robe Monster suspected nothing and instead complained about the BanHorseWarming spoiling things. Sun Wukong pretended to be gentle and coaxed the Yellow Robe Monster into bringing out the golden elixir, claiming it could help his cultivation. Sun Wukong then tricked the monster into putting the elixir into his mouth and fled out of the cave.
When the Yellow Robe Monster discovered the golden elixir had been stolen, he realized he had been tricked and was furious beyond measure. He flew out of the cave and encountered Sun Wukong once again. They fought once more, but the Yellow Robe Monster could not prevail. So he revealed his true form: the heavenly star lord, Kuimu Lang. He let out a wolf's howl and spewed demonic fire from his mouth. Sun Wukong wrestled with him, gradually gaining the upper hand. Just as they fought, the Grand White Planet descended on an auspicious cloud and shouted: "Kuimu Lang, you wicked beast, why do you not surrender?" It turned out that the Jade Emperor had sent him down to capture Kuimu Lang. Seeing the heavenly deity, Kuimu Lang dared not continue the fight and had to submit and admit his guilt.
After Kuimu Lang was taken away by the heavenly deity, the demonic aura around Tang Sanzang dissipated and he gradually regained his human form. When he opened his eyes, he found himself in the Precious Elephant Kingdom. The king was overjoyed to see Tang Sanzang restored, and quickly held a banquet in his honor, thanking Sun Wukong for the service of subduing the demon.