<P> In the Treaty of Purandar, signed between Shivaji and Jai Singh on 11 June 1665, Shivaji agreed to give up 23 of his forts and pay compensation of 400,000 rupees to the Mughals . He also agreed to let his son Sambhaji become a Mughal sardar, serve the Mughal court of Aurangzeb and fight alongside the Mughals against Bijapur . One of Shivaji's commander, Netaji Palkar joined the Mughals, was rewarded very well for his bravery, converted to Islam, changed his name to Quli Mohammed Khan in 1666 and was sent to the Afghan frontier to fight the restive tribes . He returned to Shivaji's service in 1676 after ten years with the Mughals, and was accepted back as a Hindu on Shivaji's advice . </P> <P> In 1666, Aurangzeb invited Shivaji to Agra, along with his nine - year - old son Sambhaji . Aurangzeb's plan was to send Shivaji to Kandahar, now in Afghanistan, to consolidate the Mughal empire's northwestern frontier . However, in the court, on 12 May 1666, Aurangzeb made Shivaji stand behind mansabdārs (military commanders) of his court . Shivaji took offence and stormed out of court, and was promptly placed under house arrest under the watch of Faulad Khan, Kotwal of Agra . </P> <P> Shivaji feigned severe illness and requested to send most of his contingent back to the Deccan, thereby ensuring the safety of his army and deceiving Aurangzeb . Thereafter, on his request, he was allowed to send daily shipments of sweets and gifts to saints, fakirs, and temples in Agra as offerings for his health . According to the Mughal documents, after several days and weeks of sending out boxes containing sweets, Shivaji, disguised as labourer carrying sweet basket escaped on 17 August 1666 . Sambhaji, being a child had no restrictions and was sent out of the prison camp before Shivaji escaped After escaping Shivaji and his son fled to the Deccan disguised as sadhus (holy men). Popular legends claim that Shivaji and Sambhaji escaped by sitting inside boxes that contained sweets to temples in Agra . Recent research has proposed that Shivaji simply disguised himself as a Brahmin priest after performance of religious rites at the haveli grounds on 22 July 1666, and escaped by mingling within the departing priestly entourage of Pandit Kavindra Paramananda . Sambhaji was removed from Agra and taken to Mathura later by Shivaji's trusted men . </P> <P> After Shivaji's escape, hostilities with the Mughals ebbed with Mughal sardar Jaswant singh acting as intermediary between Shivaji and Aurangzeb for new peace proposals . During the period between 1668 and 1670, Aurangzeb conferred the title of Raja on Shivaji . Sambhaji was also restored as a Mughal mansabdar with 5000 horses . Shivaji at that time sent Sambhaji with General Prataprao Gujar to serve with Mughal viceroy in Aurangabad, Prince Muazzam . Sambhaji was also granted territory in Berar for revenue collection . Aurangzeb also permitted Shivaji to attack the decaying Adil Shahi . The weakened Sultan Ali Adil Shah II sued for peace and granted the rights of Sardeshmukhi and Chauthai to Shivaji . </P>

What is the importance of the battle of king mountain