Using the remote console
If you have connected to a remote console using ssh:ssh or the Karaf client, you can stop the remote instance using system:shutdown.
Information noteNote:
Pressing Ctrl+D in a remote console simply closes the remote connection and returns you to the local shell
without shutting off the remote instance.