Hello @Wajahat Baig
Did you follow all the steps mentioned in this article :How to remove a Universal Print connector.
Removing a Connector:
1.Unshare all the printers that use the connector from the Portal
2.Unregister all the printers that use the connector, either from the Portal or from the server itself
3.In an elevated PowerShell window, run:
Install-Module UniversalPrintManagement
Connect-UPService
Get-UPConnector
Remove-UPConnector -ConnectorId
4.copying the output of Get-UPConnector to find out your connector ID to feed into Remove-UPConnector. Make sure the account you use to sign in has Printer Administrator or Global Administrator rights, and a license for Universal Print assigned to it.
5.Restart the Print Connector Service to clear up any local data, and then uninstall the connector.
Best Regards
Karlie
If the Answer is helpful, please click "Accept Answer" and upvote it.