To cancel the process that is currently running enter the key combination:
Ctrl-c
Hold down the key marked Ctrl and press the C key. This cancels the current foreground process completely: it no longer exists.