It was decided that Hanuman should return and inform Ram about Sita's captivity so that he would come with his army and seek her release by defeating Ravan. Thus, taking leave of Sita, Hanuman wanted permission of Sita to eat some fruits from the trees around. He was very hungry. Sita permitted Hanuman to satisfy himself.
Hanuman uprooted many trees so that he need not jump to pluck the fruits high up. The noise brought many guards to the scene. They tried to arrest this big mischievous monkey which was causing damage to their beautiful garden. But powerful Hanuman overpowered everyone of them and beat them up severely.
Someone ran to the royal chamber of Ravan and described how 'a monkey was causing havoc in Ashokvan'. Ravan was surprised to listen that an ordinary monkey could single- handedly beat up his powerful men! He, therefore, sent his son Indrajeet to arrest the monkey and bring him to the royal court.
As ordered, Indrajeet, the powerful and obedient son of Ravan, reached Ashokvan to find the place in the most chaotic state. The trees were uprooted and the demon- guards were running here and there to save their lives. Hanuman was as if making fun of them. Full of anger, Indrajeet challenged Hanuman to fight with him instead of his servants, saying,
"O monkey, you have done a great harm and insult to the kingdom of Ravan. I have come to arrest you and if resisted, I would send you to hell by killing you." Thus saying they both were engaged in fierce fight.
Soon Hanuman appeared to tire out and was arrested by Indrajeet and his subordinates. He was tied with ropes and brought to the court of Ravan. (The secret of this arrest was that Hanuman deliberately got himself arrested so that he could reach the court of Ravan.)
Hanuman wanted to assess the character, strength, and weaknesses of Ram's opponent which would be useful for them to plan their strategy to defeat Ravan. Thus tied and escorted by cruel-looking army men, Hanuman was brought in the presence of Ravan.
On seeing him Ravan was furious with rage: "O insignificant monkey, who are you? And what business brings you here to get killed! Don't you know that this is the kingdom of Ravan where people like you have no place to live?"