Terminating a running script

Sometimes I want to stop a long-running script. How can I do this?

control-C in the console will terminate a script. (that’s the system console window / view console, not blender’s python console)

Thanks. I would have expected that to stop the entire Blender process. In fact, I came close to trying it a couple times.