How to change the cluster name of an elk cluster with 3 master nodes

That's correct, you will have to shut down all the nodes, adjust their config, and then start them all up again.

Edit: I don't see this in the docs today so I opened #95858.