[[stop-elastic-agent]]
[role="xpack"]
= Stop {agent}

To stop {agent} and its related executables, stop the {agent} service. Use the
commands that work with your system: 

include::{beats-repo-dir}/x-pack/elastic-agent/docs/tab-widgets/stop-widget.asciidoc[]

// Add Javascript and CSS for tabbed panels
include::tab-widgets/code.asciidoc[]
