jaisingh’s campaign against the adilshahi proved unsuccessful. jaisingh and aurangzeb felt that if the adilshah, the qutubshah, and shivaji maharaj joined forces against the mughals, it would be a great setback to the mughal policies in the deccan. both of them felt that shivaji maharaj ought to be kept away at least for some time from the deccan politics. jaisingh proposed to shivaji maharaj that he should visit agra and meet the emperor. after making thorough arrangements to ensure effective administration of his dominions during his absence, shivaji maharaj proceeded to agra with his son sambhaji and a few of his trusted people. shivaji maharaj set out for agra on 5th march 1666 and reached on 11th may 1666. aurangzeb did not treat shivaji maharaj with due honor at his court. livid with rage, maharaj walked out of the court instantly. aurangzeb then put him under house arrest. shivaji maharaj devised a plan of escaping from his house arrest. he adroitly escaped from agra and safely reached rajgad on 20th november 1666. while returning from agra, he left sambhaji at mathura. later, sambhaji was brought safely to rajgad.