Isolate a node

How can we isolate a node that serves both as a master and data node from a cluster?

What do you mean by isolate? Why do you want to do this?

Which version of Elasticsearch are you using?

What is the size and configuration of your cluster?