Use the ICISite interface RemoveCommand method to delete a custom command from a Site.
Signature:
HRESULT RemoveCommand([in] BSTR bstrName);