1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [Cancel / Interrupt (SIGINT)](<https://delaparra-services.nl/knowledge-hub/cancel-interrupt-sigint>)

  

Category: Keyboard shortcuts 

# Cancel / Interrupt (SIGINT)

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is Cancel / Interrupt (SIGINT)?

 

Cancel / Interrupt (SIGINT): Stop the running command — send an interrupt signal to whatever is in the foreground. Pressing ` Ctrl+C ` in a terminal sends an interrupt signal, ` SIGINT `, to the program running in the foreground. Most programs stop when they receive it. It is the standard way to stop a development server, a long-running script or a command you started by mistake. Well-written programs catch the signal and clean up first, for example by finishing the current database write or removing temporary files.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about Cancel / Interrupt (SIGINT)

  

### What should you keep in mind with Cancel / Interrupt (SIGINT)?

 

If a program ignores ` Ctrl+C `, try pressing it again, or ` Ctrl+\ ` for a stronger quit signal. As a last resort, find the process ID and use ` kill `. Be careful with long data operations such as imports or migrations. Interrupting halfway can leave data in an inconsistent state, so design such scripts to be safe to run again.

 

## At a glance

   CategoryKeyboard shortcuts Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Keyboard shortcuts terms

 

- [Add Cursor Above / Below](<https://delaparra-services.nl/knowledge-hub/add-cursor-above-below>) 
- [Add Cursor at Click](<https://delaparra-services.nl/knowledge-hub/add-cursor-at-click>) 
- [Autocomplete](<https://delaparra-services.nl/knowledge-hub/autocomplete>) 
- [ciw (change inner word)](<https://delaparra-services.nl/knowledge-hub/ciw-change-inner-word>) 
- [Clear Screen](<https://delaparra-services.nl/knowledge-hub/clear-screen>) 
- [Command Palette](<https://delaparra-services.nl/knowledge-hub/command-palette>)

 

[All terms starting with C](<https://delaparra-services.nl/knowledge-hub#letter-c>)

 

## Skills

 

- ### Editor shortcuts (VS Code / Cursor and Vim)

 

Use when a user asks how to do something faster in VS Code (or Cursor) or Vim, asks what a keyboard shortcut does (e.g. Ctrl+D, Ctrl+Shift+P, F12, gg, dd, yy, ciw, :wq), wants to customise keybindings, or is stuck in Vim. Gives the correct shortcut for their operating system and can write keybindings.json entries.

 [View skill](<https://delaparra-services.nl/skills/editor-shortcuts>) [Download zip](<https://delaparra-services.nl/skills/editor-shortcuts/download>)

 

## Manuals

 

- [Keyboard shortcuts in VS Code and the terminal](<https://delaparra-services.nl/manuals/sneltoetsen-in-vs-code>) 
- [Installing Visual Studio Code](<https://delaparra-services.nl/manuals/visual-studio-code-installeren>)

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/cancel-interrupt-sigint)
