Let’s say you are running a React app, which you started using npm start:

It is running in a browser, but closing the browser does not stop the app:

To stop this from running, in the command prompt, type CTRL-C. You will get the prompt to Terminate batch job:
![]()
Type Y and the app will stop running:

You can now run npm start again if you want to relaunch the app.

Keep learning. Keep building.
Explore AI, agents & Microsoft technology.
I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.
Subscribe on YouTube →Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert
thanks
you can also just stop node.js in the task manager
This is better!
Thanks man
Ctrl + C is not working for me. VSCode Windows 11
You got to do it in an external console, with CTRL + C, if it still not working use the other CTRL key in the keyboard (the one on the right)
Hell Carl.
I found your site so interesting and helpfull.
I subscribed to your channel. And bookmarked your site.