Chhatrapati Shivaji Maharaj, was an Indian warrior king. He established a competent and progressive civil rule with the help of disciplined military and well-structured administrative organisations. He also introduced new military tactics, pioneering guerrilla warfare methods, which used geography, speed, and surprise and focused pinpoint attacks to defeat enemies.
Aurangzeb's 50th birthday was to be celebrated in the highest place. On that day (12 may, 1666), aurangzeb himself wanted the glory of mongal emporer to be displayed in the court and the eyes of the world should be blinded by it. He also invited shivaji maharaj for this greater event.
Shivaji Maharaj arrived in Agra with his eldest son, Shambhuji, and a small contingent of soldiers on May 12, Aurangzebs 50th birthday.
As Shivaji Maharaj entered the hall, he placed his offering before Aurangzeb. The Emperor said nothing, not even a word of welcome. Shivaji Maharaj was led to the back of the hall. By now, it was clear that it was a trap and Shivaji and his son were captives.
They were imprisoned for many months but, Shivaji Maharaj did not despair. He was always under guard with at least 1,000 men on duty. He used his time to gather information. He befriended the postmaster and a few subordinates of the emperor and collected information about the happenings around the kingdom.
Later, Shivaji Maharaj feigned illness and requested that his men be released so they go back home. Aurangzeb granted this wish. His men went to several towns and settled there, after which Shivaji was ready to execute his plan.
Maharaj was continuing to be treated by the doctor. But then Maharaj wanted to donate some sweet to poor , the brahmins and the fakirs and that this pain should be treated quickly. They made very planned agrrangement to bring sweets and distribute it. Fuladkhan who was main of guards got confused and then he was convinced that this is just for donation.
The days began to turn, boxes of sweet were cheked regularly by the guards and after some peroid of time they were convinced and stopped checking.
One day Shivaji maharaj and his son sat into the empty sweet box and ran from the trap. As usual guards did not check the box and let it go. Hiroji Farjand was the man who took a place of Maharaj and when Shivaji Maharaj was securely left agra he asked guards for permission to bring some medicine and vanished.
Thus Shivaji Maharaj and his men escaped from Auranjzeb's trap in Agra on 17th august 1666.