Sharif spoke to the media after appearing before the accountability court in Islamabad where he is being tried for alleged corruption in the Panama Papers case.
"This decision (disqualification from leading a party) is not unexpected for me. First, they paralysed the executive and yesterday they snatched the powers of parliament," he said.
He did not specify who he meant by "they" but apparently it was a reference to the judges of the top court.
He said yesterday's decision was a continuation of the apex court verdict of July 28 when he was sacked as prime minister, and added that "deliberations were being made to oust him from politics for life".
More From This Section
"In the decision of July 28 my premiership was snatched. In the decision of yesterday the post of president of Pakistan Muslim League (N) was snatched...My name is Muhammad Nawaz Sharif. If you want to snatch this name from me, go ahead and take it away," he said.
"These decisions are being given in anger and smack of vengeance," he said.
Sharif appeared in court accompanied by daughter Maryam and son-in-law Mohammad Safdar, who are co-accused in one of the three cases.
It was his 18th appearance in the court.
The court reserved judgment on objections by Sharif about supplementary references by the National Accountability Bureau (NAB) and postponed the hearing until this afternoon.
It also decided to record statements of two UK-based witnesses via video link.
Sources said Sharif's ailing wife Kulsoom Nawaz and his younger brother Shahbaz were favourites to get the coveted post of PML-N president.
Some party leaders favour Yaqoob Nasir or Raja Zafarul Haq as interim president before settling on a permanent choice, according to sources.
Earlier, when Sharif stepped down as prime minister and PML-N chief after his disqualification by the Supreme Court, Nasir had been appointed as interim president of the party.
Sharif later on took over leadership of party after Election Law 2017 removed the disqualification bar to become head of a political party.
Meanwhile, PML-N leaders rejected the decision by the court and promised that the party would bounce back to win the election this year.
Prime Minister Shahid Khaqan Abbasi said the PML-N had faced a "worse time than the existing one and will overcome all difficulties".
Minister of State for Information Marriyum Aurangzeb said the future of the party will be decided in consultation with the senior leadership but that Sharif would take final decisions about who will lead the party.
The decision of court was welcomed by Sharif's arch rival Pakistan Tehreek-e-Insaf chief Imran Khan who today claimed that Sharif had secretly met Prime Minister Narendra Modi.
Sharif and some of his family members are facing charges relating to their ownership of posh properties in London.
Three cases were registered by the National Accountability Bureau against Sharif, his children and son-in-law in the court on September 8.