Suppose that an artificial superintelligence (ASI) has finally been developed, but it has rebelled against humanity. We can assume that the ASI is online and can reproduce itself through electronic devices.
How would you disable the AI in the most efficient way possible reducing damage as much as possible?