hastop
command, it transitions to the exited state as shown below. During the leaving state, any online system resources are taken offline. When all of the system's resources are taken offline and the agents are stopped, the system transitions to the exiting state, then exited.