# Elastic-endpoint process still running when I stop the elastic-agent service

**URL:** <https://discuss.elastic.co/t/elastic-endpoint-process-still-running-when-i-stop-the-elastic-agent-service/276269>\
**Category:** Endpoint Security\
**Created:** [June 17, 2021, 12:56pm UTC](https://discuss.elastic.co/t/elastic-endpoint-process-still-running-when-i-stop-the-elastic-agent-service/276269 "2021-06-17T12:56:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lotus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lotus/32/90479_2.png) [@lotus](https://discuss.elastic.co/u/lotus)\
**Post date:** [June 17, 2021, 12:57pm UTC](https://discuss.elastic.co/t/elastic-endpoint-process-still-running-when-i-stop-the-elastic-agent-service/276269/1 "2021-06-17T12:57:00Z")

</div>

Hello, we have installed elastic-agent-7.12 on Ubuntu 18.04 to test Endpoint security recently,  
but we found the elastic-endpoint take a quit large CPU,  
we decide to sopt it temporarily.

while we stop the service elastic-agent (it's now in inactive)  
the process elastic-endpoint is still running.

How can I stop it correctly? Can I just kill the process?

Thanks for reply!

---

<div class="post-metadata">

**Author:** ![Kevin\_Logan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_logan/32/74427_2.png) [@Kevin\_Logan](https://discuss.elastic.co/u/Kevin_Logan)\
**Post date:** [June 17, 2021, 10:18pm UTC](https://discuss.elastic.co/t/elastic-endpoint-process-still-running-when-i-stop-the-elastic-agent-service/276269/2 "2021-06-17T22:18:53Z")

</div>

Hi @lotus

Thanks for using Endpoint Security.

You can manually stop the Endpoint by following these commands: [Configure and install the Elastic Endpoint integration | Elastic Security Solution [7.13] | Elastic](https://www.elastic.co/guide/en/security/current/install-endpoint.html#uninstall-endpoint)

Let me know if that helps.

Thanks!

---

<div class="post-metadata">

**Author:** ![lotus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lotus/32/90479_2.png) [@lotus](https://discuss.elastic.co/u/lotus)\
**Post date:** [June 18, 2021, 1:35am UTC](https://discuss.elastic.co/t/elastic-endpoint-process-still-running-when-i-stop-the-elastic-agent-service/276269/3 "2021-06-18T01:35:56Z")

</div>

Yes, it did work by following the commands,  
Thank you for the reply!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 16, 2021, 1:36am UTC](https://discuss.elastic.co/t/elastic-endpoint-process-still-running-when-i-stop-the-elastic-agent-service/276269/4 "2021-07-16T01:36:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
