Title
/10char
I believe it’s this:
/run C_PvP.ToggleWarMode();
But it still has the same restriction of must be in a rested area to turn off and must be in one of the specific cities to turn it on.