section_path: Conflict with the Mughals/Arrest in Agra and escape
section_name: Arrest in Agra and escape
paragraph_text: Arrest in Agra and escape
  
  In 1666, Aurangzeb summoned Shivaji to Agra (though some sources instead state Delhi), along with his nine-year-old son Sambhaji. Aurangzeb planned to send Shivaji to Kandahar, now in Afghanistan, to consolidate the Mughal empire's northwestern frontier. However, on 12 May 1666, Shivaji was made to stand at court alongside relatively low-ranking nobles, men he had already defeated in battle. Shivaji took offence, stormed out, and was promptly placed under house arrest. Ram Singh, son of Jai Singh, guaranteed custody of Shivaji and his son. The emperor also withheld the previous honors bestowed upon him such as his robe of honour, elephant and jewels.: 211
  
  Shivaji's position under house arrest was perilous, as Aurangzeb's court debated whether to kill him or continue employing him. Jai Singh, having assured Shivaji of his personal safety, tried to influence Aurangzeb's decision. While Shivaji regarded himself as a king, in the eyes of the Mughal emperor, he was only a relatively successful rebel zamindar.
  
  By the time the order for his posting to Kabul arrived, a rumor had already spread at the court that Shivaji would be killed along the way. However, the order was canceled when Shivaji refused to go. During the negotiations that followed, Shivaji demanded the transfer of his forts before becoming a mansabdar, a demand the emperor rejected. The orders to kill him were prevented only by Jai Singh's intervention. In the end, Shivaji's request to leave for Banaras as a sannyasi was also rejected.
  
  Meanwhile, Shivaji hatched a plan to free himself. He sent most of his men back home and asked Ram Singh to withdraw his guarantees to the emperor for the safe custody of himself and his son. He surrendered to Mughal forces. Shivaji then pretended to be ill and began sending out large baskets packed with sweets to be given to the Brahmins and poor as penance. On 17 August 1666, by putting himself in one of the baskets and his son Sambhaji in another, Shivaji escaped and left Agra. Stewart Gordon opines that there is no contemporary evidence to support this story. He also states that, despite Aurangzeb's suspicions regarding Ram Singh's involvement in Shivaji's escape, nothing was proven and Shivaji likely bribed the guards to facilitate his escape.
  
  In 1666, Aurangzeb summoned Shivaji to Agra (though some sources instead state Delhi), along with his nine-year-old son Sambhaji. Aurangzeb planned to send Shivaji to Kandahar, now in Afghanistan, to consolidate the Mughal empire's northwestern frontier. However, on 12 May 1666, Shivaji was made to stand at court alongside relatively low-ranking nobles, men he had already defeated in battle. Shivaji took offence, stormed out, and was promptly placed under house arrest. Ram Singh, son of Jai Singh, guaranteed custody of Shivaji and his son. The emperor also withheld the previous honors bestowed upon him such as his robe of honour, elephant and jewels.: 211
  
  Shivaji's position under house arrest was perilous, as Aurangzeb's court debated whether to kill him or continue employing him. Jai Singh, having assured Shivaji of his personal safety, tried to influence Aurangzeb's decision. While Shivaji regarded himself as a king, in the eyes of the Mughal emperor, he was only a relatively successful rebel zamindar.
  
  By the time the order for his posting to Kabul arrived, a rumor had already spread at the court that Shivaji would be killed along the way. However, the order was canceled when Shivaji refused to go. During the negotiations that followed, Shivaji demanded the transfer of his forts before becoming a mansabdar, a demand the emperor rejected. The orders to kill him were prevented only by Jai Singh's intervention. In the end, Shivaji's request to leave for Banaras as a sannyasi was also rejected.
  
  Meanwhile, Shivaji hatched a plan to free himself. He sent most of his men back home and asked Ram Singh to withdraw his guarantees to the emperor for the safe custody of himself and his son. He surrendered to Mughal forces. Shivaji then pretended to be ill and began sending out large baskets packed with sweets to be given to the Brahmins and poor as penance. On 17 August 1666, by putting himself in one of the baskets and his son Sambhaji in another, Shivaji escaped and left Agra. Stewart Gordon opines that there is no contemporary evidence to support this story. He also states that, despite Aurangzeb's suspicions regarding Ram Singh's involvement in Shivaji's escape, nothing was proven and Shivaji likely bribed the guards to facilitate his escape.