Gracefully shut down master node

When I shut down master node kopf plugin show red status for a moment. Is there a way to manually exclude node from being elected as a master before shutting it down?

Nope.