onintr
On Interupt.
Control the action of a shell interrupt.
SYNTAX
onintr [-|label]
Options `-' Ignore all interrupts
label Cause the shell to execute a `goto label' when
an interrupt is received or a child process terminates
because it was interrupted.
Notes
Without arguments, restores the default action of the shell on interrupts,
which is to terminate shell scripts or to return to the terminal command input
level.
onintr is ignored if the shell is running detached and in system startup files (see FILES), where interrupts are disabled anyway.
'Command + Tab' cycles through Applications,
'Command + ~ (tilde)' cycles through an individual Applications windows" - OS
X Manual
Related commands:
break - Exit from a loop
nice - Set the priority of a command