How to move from 2 node cluster to single node?

Solved, followed this: How to move from 3 node cluster to single node - #4 by leandrojmp

PUT _cluster/settings
{
  "persistent" : {
    "cluster.routing.allocation.exclude._ip" : "NODE-IP"
  }
}

PUT /*/_settings
{
 "index" : {
  "number_of_replicas":0,
  "auto_expand_replicas": false
 }
}

Removed node-2 references in elasticsearch.yml

Restart ES.

Stopped node 2 ES then shutdowned server.

Solved.