The pre-arrest bail serves to prevent his arrest for past charges.
While coming out of the court complex, a lawyer threw a shoe at Musharraf. Angry scenes were witnessed and people, including groups of lawyers, shouted slogans against him.
Footage on TV showed the shoe flying through the air and landing among a group of people in front of Musharraf.
The shoe hurled by advocate Tajammul Lodhi in the corridor did not hit Musharraf and he was escorted safely out of the court by security personnel. Lodhi was detained and taken to an undisclosed location, the Geo TV reported.
This was not the first time that a shoe was hurled at Musharraf. In 2011, a man tried to hurl his shoe at him when the Pakistani leader was addressing a gathering in Britain.
Musharraf had arrived in the court through VIP entrance but as soon as news spread of his presence, the lawyers started protesting and tried to enter the chamber of the Chief Justice. There were scuffles between lawyers and policemen.
Musharraf was required to appear in person in the court to extend the bail allowance.
The court, however, barred him from leaving the country without its permission.
On March 22, a single-judge bench, headed by Chief Justice Mushir Alam, had granted a 10-day bail period to the former president who returned home on Sunday after being in self-imposed exile since 2009.
The High Court had also granted Musharraf a pre-arrest bail in the Baloch nationalist leader Akbar Bugti and former prime minister Benazir Bhutto murder cases.