CTRL+C will send a break (stop execution) when no text is selected. Try it ;-)

Reference

Answer from misha256 on Stack Exchange
🌐
GeeksforGeeks
geeksforgeeks.org › techtips › how-to-abort-command-execution-in-cmd
How to Abort a Command Execution in Command Prompt? - GeeksforGeeks
December 17, 2025 - Despite of old method to kill commands in Windows via Task Manager, Try cmd commands to terminate unresponsive programs and problematic processes in Windows immediately! Taskkill command is used to stop command execution in Command Prompt.
Discussions

What is the shortcut command to kill a process in a Windows command window? - Stack Overflow
Ctrl + C should stop a program running from the command prompt, similar to Linux. If that doesn't work try to force kill a process from the command prompt, using the following command: ... /F will force termination of the process, and /IM means you're going to provide the running executable ... More on stackoverflow.com
🌐 stackoverflow.com
unix - What is the proper way to exit a command line program? - Stack Overflow
I'm using Mac and Linux, and I know that Ctrl + Z stops the currently running command in terminal, but I frequently see the process is still running when I check the system monitor. What is the rig... More on stackoverflow.com
🌐 stackoverflow.com
Am I crazy or does terminal progress sometimes get stuck until you hit enter in Windows cmd/powershell etc..?
If you accidently click on the cmd window, it may highlight/ select text. When it does that, it pauses the output. Hitting enter or space clears the selection and allows it to catch up. More on reddit.com
🌐 r/sysadmin
17
12
February 22, 2023
How do I quit out of terminal after typing code command?
Why do you have an open terminal that you want closed? I'm not sure this is very common. Anyway, if you're on windows you could make a .bat file that does something like code %* && exit On mac/linux, write an alias or bash function. More on reddit.com
🌐 r/vscode
5
2
April 3, 2022
🌐
Oracle
docs.oracle.com › cd › E19455-01 › 806-1360 › usingtermemulators-36078 › index.html
To Close a Terminal Window (Solaris Common Desktop Environment: User's Guide)
Or, choose Exit from the Terminal Window menu. Or, choose Close from the Window menu (displayed through the button at the upper left of the window frame). ... Typing exit at the command line is the preferred method of closing a Terminal window.
🌐
YouTube
youtube.com › watch
How to stop a running command in cmd on Windows - YouTube
How to stop a running command in cmd on Windows.suppose you run a command by mistake and want to stop it immediately. Then what will you do? A shortcut key c...
Published   September 19, 2024
🌐
Medium
medium.com › tooling-tips › how-to-easily-stop-a-terminal-command-15d4324109f
How To Easily “Stop” a Terminal Command! | by Ammar Alakkad | Tooling Tips | Medium
July 17, 2016 - If you want to force quit “kill” a running command, you can use “Ctrl + C”. most of the applications running from the terminal will be forced to quit. There’s commands/apps that are designed to keep running until the user asks it to ...
Find elsewhere
🌐
Computer Hope
computerhope.com › issues › ch001416.htm
How to Close or Exit the Windows Command Line
September 7, 2025 - To close or exit the Windows command line window, also called command or cmd mode or DOS mode, type exit and press Enter.
🌐
SysAdminSage
sysadminsage.com › home › blog › how to stop terminal from running: linux, macos & windows
How to Stop Terminal from Running: Linux, macOS & Windows - SysAdminSage
June 4, 2026 - Whether you want to gently ask a process to stop or forcefully pull the plug, these a few key combinations are your best friends in the command line. Imagine you’re talking to someone and you realize they’ve started rambling on a topic you’re not interested in. You don’t necessarily want to kick them out of the room; you just want them to stop talking right now. That is exactly what Ctrl+C does for your terminal. Related: How to Index a Removable Disk: Windows & macOS Guide
🌐
Quora
quora.com › How-do-you-cancel-a-terminal-command
How to cancel a terminal command - Quora
Answer (1 of 2): If you mean Linux, you can find the process by using the ps command, you could just kill it For example your application is pluma ps ax|grep pluma 473269 pts/12 Sl+ 6:46 pluma abc kill 473269 if it doesn’t work, you could use kill -9 473269 If you want to pass just the name...
🌐
Apple
support.apple.com › en-sa › guide › terminal › apd5265185d-f365-44cb-8b09-71a064a42125 › mac
Open or quit Terminal on Mac - Apple Support (SA)
Go to the Terminal app on your Mac. In the window running the shell process you want to quit, type exit, then press Return. This ensures that commands actively running in the shell are closed.
🌐
Learn@FujoWeb.Dev
learn.fujoweb.dev › terminal › terminal-commands
How to Run (and Stop) Terminal Commands | Learn@FujoWeb.Dev
If the command you ran—intentionally or unintentionally!—starts a long-running program or otherwise begins doing things you don’t want, you may want to “kill it” and stop it from running. Luckily, there is one simple, straightforward way to stop most terminal programs: closing the terminal window the program is running in.
🌐
Digi
docs.digi.com › resources › documentation › digidocs › 90002344 › os › cli-exit-t.htm
Exit the command line interface
August 30, 2023 - Type q or quit to exit · © 2025 Digi International Inc. All rights reserved. Exit the command line interface updated on 11 Jun 2025 10:11 AM
🌐
Marc Nuri
blog.marcnuri.com › home › windows: how to kill a process from the command line
Windows: How to kill a process from the command line - Marc Nuri
October 31, 2023 - In addition to the long format, Stop-Process has two other aliases that you can use instead: kill and spps. We can also kill a process by its name. To do so, you can use the following command: ... In this post, I've shown you the possible ways to kill a process from the command line in Windows.