RMMV Switches

So I added a Common Event that makes a timer, and you have to rush from place A to place B. But is there a way to make it so that all the random enemy spawns in the maps that you have to go through will be turned off only when this event is taking place?
there is an event command to turn encounter off and on
there is an event command to turn encounter off and on
Do I have to put it to every map I want random encounters to not happen as a event touch option to turn them off?
the last state is remembered until you change it again
the last state is remembered until you change it again
Thank you. Wanted to also ask, is there anything I can do to play music inside a common event that isn't restarted by normal map BGM? Because every time I enter another room with a music I specified inside a common event, it restarts.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-switches.163064/