After returning to the inn, Wukong discussed matters with Zhu Bajie. The next morning at court, Sun Wukong stormed the Golden Throne Hall and yelled at the state elder: 'You fiend, why don't you reveal your true form now!' The state elder was greatly alarmed and started fighting with Wukong. With one strike of Wukong's staff, the state elder revealed his true form as a white deer. The king was scared out of his wits.
The white deer spirit, unable to resist, transformed into a gust of wind and fled. Wukong pursued him closely to the shore of the Eastern Sea, where he happened to meet the Immortal of the South Pole. The immortal smiled and said: 'Great Sage, calm your anger. This is my mount, the white deer, who in his playfulness descended to the mortal world to become a demon, disturbing the holy monk. I hope you can forgive him.' It turned out that the beauty in the ice cellar was also a transformation of the white deer spirit. The real old immortal's attendant had had her vital energy drained by it.
Although Wukong was displeased, the immortal took back the white deer and revived the attendant. The king, weeping with gratitude, thanked the master and his disciples. Wukong also advised the king to stop taking the hearts and livers of children, to disband the group of foster children, and to let them return to their parents. Thus ended the ordeal of the Kingdom of Biqiu.
After taking leave of the Kingdom of Biqiu, the master and his disciples continued their journey westward and arrived at a large city. They saw that the city had many Buddhist temples, one of which was called the Temple of Guarding the Sea, with magnificent halls. When Tang Sanzang saw it was a Buddhist place, he wanted to enter and pay homage.
Once inside the temple, the monks led them to the abbot's quarters. The abbot said that this area was eerie, and that often at night demons would come to kidnap people. As they were speaking, they saw a tall tower at the back of the temple, which the abbot called the 'Bottomless Pit,' the lair of the demons.
Upon hearing this, Tang Sanzang became frightened. Sun Wukong, however, was unconcerned and said it was just some minor demon causing trouble, nothing to panic over. That night, the four of them rested in the meditation hall. In the middle of the night, sure enough, a fragrant wind blew straight toward Tang Sanzang. Sun Wukong was already on guard and protected him in secret. Seeing that Wukong was nearby and she could not succeed, the demon used a trick, transforming into a beautiful woman and pretending to be molested by a monk, thereby arousing Tang Sanzang's pity.