What would be the best way to disable a rogue AI? 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?
Metaphorically: make it so depressed it commits suicide.

As per my answer to this AI SE question, the idea is to feed it a sequence of inputs that will cause it to become (permanently) inactive.

The technical details of how this might be achieved (and they are somewhat technical) can be found in this paper.