As I suspected, you have a problem, and you just want to remove the most annoying part of the symptom. I'd try instead to find the problem and fix that instead.
The alarm is going off because [most likely] one of the six microswitches is telling the Central Convenience Module that something is being opened when the car is locked (and thus "armed").
The hood, the trunk, and the four doors. The CCM likely has a DTC stored.
Disconnecting the sounder itself will make the alarm not make any noise, but the alarm is still going off, and still going to drain the battery.
Fix the problem, not the symptom.