The Yellow Robe Monster, seeing Sun Wukong's immense magical power, summoned a demonic wind, causing stones to fly and sand to swirl, blinding Wukong, and took the chance to flee back into his cave. Sun Wukong returned to the Bao Xiang Kingdom and informed them of the monster's abilities. Zhu Bajie refused to accept this and said, 'Brother, stop boasting! Let me, Old Pig, go and face him!' Wukong laughed and said, 'You glutton, don't be so reckless.' Zhu Bajie disregarded this and went with Sha Seng to the Bo Yue Cave. The Yellow Robe Monster lured Zhu Bajie into the mountains, spewed poisonous smoke, captured him, and hung him up inside the cave. Sha Seng, unable to withstand the fight, fled back to the Bao Xiang Kingdom.
Seeing Sha Seng return alone, Sun Wukong knew Zhu Bajie had been harmed, and his anger grew even more, so he decided to use a clever strategy. He transformed into the appearance of Princess Baihua Xiu and infiltrated the Bo Yue Cave. The Yellow Robe Monster harbored no suspicion, instead complaining about the interference of the 'Horse of the Barn.' Sun Wukong feigned gentleness, coaxing the Yellow Robe Monster into bringing out an elixir, claiming it could help him cultivate. Sun Wukong seized the opportunity to trick the elixir into his mouth and fled out of the cave.
The Yellow Robe Monster discovered the elixir was stolen, realized he had been tricked, and became furious. He flew out of the cave and met Sun Wukong again. They fought once more, but the Yellow Robe Monster could not prevail, so he revealed his true form: he was the celestial star official, Kui Mulang. He let out a wolf's howl, spewing demonic fire from his mouth. Sun Wukong wrestled with him, gradually gaining the upper hand. Just as they were fighting, Taibai Jinxing arrived on an auspicious cloud and shouted, 'Kui Mulang, you vile beast, why don't you give up and submit!' It turned out that the Jade Emperor had sent him down to the mortal world to capture him. Kui Mulang, seeing the heavenly deity, dared not fight any longer and had to confess his crimes.
After Kui Mulang was taken away by the heavenly deity, the demonic aura on Tang Sanzang dissipated, and he gradually regained his human form. He opened his eyes and found himself in the Bao Xiang Kingdom. The king, seeing Tang Sanzang recovered, was overjoyed and quickly held a banquet to entertain him, also thanking Sun Wukong for the favor of subduing the demon.