After traveling for a day, they suddenly saw a huge mountain towering into the clouds, named Five Elements Mountain. Tang Sanzang arrived at the foot of the mountain and vaguely heard someone shouting from under the mountain: 'Master! Master! Save me out!' Tang Sanzang was startled and looked in the direction of the sound. He saw a monkey pressed under the mountain. The monkey claimed to be Sun Wukong, who had caused havoc in Heaven five hundred years ago, was suppressed under this mountain by Tathagata Buddha, and now, enlightened by Guanyin Bodhisattva, was waiting here for the scripture pilgrim.
Sun Wukong begged Tang Sanzang to save him. Tang Sanzang asked how he could be saved. Sun Wukong said: 'On top of this mountain, there is a golden seal with a spell. Just tear it off, and I will come out.' Tang Sanzang followed his instructions and went up the mountain. He indeed saw a talisman with the Six-Syllable True Mantra, so he reverently tore it off. As soon as the talisman was torn off, a loud crash was heard, the mountain cracked open, and Sun Wukong leaped out from the stone crevice, prostrated himself, kowtowed, and said: 'Master! Your disciple Sun Wukong is willing to accompany you to the Western Paradise to obtain the scriptures!'
The master and disciple bade farewell to the mountain god and local spirit and continued on their way. After traveling a few more miles, they suddenly encountered six bandits blocking the road. Seeing this, Sun Wukong raised his Ruyi Jingu Bang and in an instant killed all the bandits. Tang Sanzang, seeing him kill, felt compassion and rebuked: 'Wukong! How can you, a monk, take life like this!' Sun Wukong tried to argue, but Tang Sanzang did not relent and recited the Heart Sutra as punishment. Sun Wukong became annoyed and angrily wanted to leave.
Just then, Guanyin Bodhisattva appeared and gave Tang Sanzang a flowery hat, inside which was hidden a tightening band. When Sun Wukong returned, Tang Sanzang tricked him into putting it on, then recited the spell, causing Sun Wukong's head to ache unbearably. Sun Wukong repeatedly begged for mercy before Tang Sanzang stopped. From then on, Sun Wukong understood the power of the tightening band spell and dared not disobey again. He resigned himself to protecting Tang Sanzang on the journey to the West to obtain scriptures.