How to remove elastic search plugin

We cannot keep unnecessary plugin installed in the server and it consumes the resource. Removing plugin from elastic search is very simple. Let see how can we do that

 1. Navigate to the bin folder of the elastic search
2. execute  this command "plugin --remove 'pluginin_name'"


In the above example kopf is the plugin name. This way we can remove the plugin from elastic search.