 In May 1660, to win back the fort from Shivaji, Adil Shah II (1656–1672) of Bijapur sent his army under the command of Siddi Johar to lay siege to Panhala.Shivaji fought back and they could not take the fort.The siege continued for 5 months, at the end of which all provisions in the fort were exhausted and Shivaji was on the verge of being captured.