After returning to the inn, Wukong discussed with Zhu Bajie. The next day at court, Sun Wukong barged into the Golden Palace and shouted at the State Preceptor, "You monster, reveal your true form at once!" The State Preceptor was greatly alarmed and fought with Wukong. Wukong struck with his staff, and the State Preceptor revealed his true form as a white deer, scaring the king out of his wits.
The white deer spirit, unable to match him, turned into a wind and fled. Wukong pursued him to the shore of the East Sea, where he happened to meet the Immortal of the South Pole. The Immortal laughed, "Great Sage, calm your anger. This is my mount, the white deer. He sneaked down to the mortal world to cause mischief out of playfulness and startled the holy monk. I hope you will forgive him." It turned out that the beauty in the ice cellar was also a transformation of the white deer spirit; the true maidservant of the Star of Longevity had her vital energy drained by it.
Though Wukong was still displeased, the Immortal took back the white deer and revived the maidservant. The king, overcome with gratitude, thanked the master and disciples. Wukong also instructed the king to stop collecting children's hearts and livers, to release the fostered children, and to let them return to their parents. Thus, the ordeal in the Kingdom of Bhikku came to an end.
Bidding farewell to the Kingdom of Bhikku, the master and disciples continued their journey west and arrived at a large city. They saw many Buddhist temples in the city, among which one was called Zhenhai Temple, with magnificent halls. Seeing it was a Buddhist sanctuary, Tang Sanzang wished to enter and pay respects.
Entering the temple, the monks led them to the abbot's quarters. The abbot said that the region was strange, and at night monsters often caused mischief and abducted people. As they spoke, they saw a tall building at the back of the temple, which the abbot called the "Bottomless Pit," the lair of the monsters.
Upon hearing this, Tang Sanzang felt fearful. Sun Wukong, however, was not concerned, saying it was just minor demons causing trouble and there was no need to panic. That night, the four of them rested in the meditation hall. At midnight, indeed a fragrant wind blew in, heading straight for Tang Sanzang. Sun Wukong had already taken precautions and was secretly protecting him. The demon, seeing Wukong nearby and unable to succeed, resorted to a trick: it transformed into a beautiful woman, pretended to be molested by a monk, and thus aroused Tang Sanzang's pity.