# Elasticsearch cannot be shut down

**URL:** <https://discuss.elastic.co/t/elasticsearch-cannot-be-shut-down/47137>\
**Category:** Elasticsearch\
**Created:** [April 12, 2016, 3:24pm UTC](https://discuss.elastic.co/t/elasticsearch-cannot-be-shut-down/47137 "2016-04-12T15:24:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivy](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Ivy](https://discuss.elastic.co/u/Ivy)\
**Post date:** [April 12, 2016, 3:24pm UTC](https://discuss.elastic.co/t/elasticsearch-cannot-be-shut-down/47137/1 "2016-04-12T15:24:07Z")

</div>

Hi,

I used the command below to shut down the Elasticsearch  
"curl -XPOST '[http://localhost:9200/\_shutdown](http://localhost:9200/_shutdown)'"  
But after a few seconds, a new cluster will be started automatically.

It seems that the Elasticsearch is running as a daemon, but I cannot find its PID using  
" bin/elasticsearch -d -p pid "

---

<div class="post-metadata">

**Author:** ![Ivy](https://avatars.discourse-cdn.com/v4/letter/i/bc8723/32.png) [@Ivy](https://discuss.elastic.co/u/Ivy)\
**Post date:** [April 12, 2016, 3:49pm UTC](https://discuss.elastic.co/t/elasticsearch-cannot-be-shut-down/47137/2 "2016-04-12T15:49:06Z")

</div>

I just found the solution:

[https://groups.google.com/forum/#!topic/elasticsearch/Rwkef4PiiBM](https://groups.google.com/forum/#!topic/elasticsearch/Rwkef4PiiBM)

---

<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 5, 2017, 11:00pm UTC](https://discuss.elastic.co/t/elasticsearch-cannot-be-shut-down/47137/3 "2017-07-05T23:00:03Z")

</div>


