Ctl-C — Stop a unix process
Although the Background keystroke (#7) tells you “Stopped,” it is, in fact, Ctl-C that is the correct way to exit (also known as “stop” or “terminate”) out of a Rails app. When Rails boots, it tells you this in fact:
![](https://jasonfleetwoodboldt.com/wp-content/uploads/2023/01/rails-boot-localhost3000.png)
Ctl-C will send the terminate signal to the app and it will shut down with:
![Rails Exiting](https://jasonfleetwoodboldt.com/wp-content/uploads/2021/03/rails-shutdown-—-115×49-2020-05-23-12-27-04.png)