 The Bijapuris melted away before this array and Jai Singh reached within 12 miles of Bijapur city.However, the scorched earth tactics of the Deccanis succeeded, Jai Singh's food supply ran out and he was forced to begin his retreat in January 1666.At this time he sent Shivaji to the Mughal court to meet Emperor Aurangzeb while he conducted his army to safety.