Possible cause: Potential difference (voltage difference) between the soundbar/receiver and the subwoofer amplifier (only in wired operation) due to the voltage spike when turning off, which causes the described noise to be heard.
Possible solution: Try to eliminate the voltage differences and thus the noise by replacing the connection cable (mono RCA).