The method used to stop a broker running on the machine you logged into depends on the mode in which the broker is running. If it is running in console mode, you use one of the console commands to shut down the broker. If it is running in daemon mode, the broker doesn't have a command console. So, you need to use one of the utility commands supplied with Fuse MQ Enterprise.
If you launched Fuse MQ Enterprise by running fusemq, you shut it down using the shutdown -f command as shown in Example 41.
Example 41. Using the Console's Shutdown Command
FuseMQ:karaf@root>shutdown -fFuseMQ:karaf@root>logout [Process completed]
![]() | Tip |
|---|---|
CTRL+D will also shutdown the broker. |
If you launched Fuse MQ Enterprise by running the start command, log in to
the machine where the broker is running and run the stop command in
the broker installation's bin folder.
![]() | Tip |
|---|---|
You can stop a broker running in daemon mode remotely. See Shutting Down a Broker Remotely. |






![[Tip]](imagesdb/tip.gif)


