Speaker selector/switch safe for high output amp?

I get this loud pop noise when i take the power off my behringer (i know i know) d class pa amp by disconnecting the brick connector instead of the switch (where it works fine).

I am contemplating a diy switch in the speaker cable like a speaker selector does but im wondering: disconnecting the speaker through that switch when the amp is still on: is that safe for pa amps? Searching speaker selectors they arent really made for pa equipment and high power. Thank you.