I had an alarm in the property I sold, the agents were incapable of putting in a pin number and kept setting it off so potential buyers were viewing the property with the deafening alarm.
To stop it, I just pulled the power out, and yes it beeped for a while, can't remember how long, maybe a few days but eventually went flat and shut up.