Not him but I'd bet 5 bucks it was a smoke alarm with depleted batteries.
If you can't get an alarm to shut-off or stop beeping, no matter what you try, then give serious thought to the possibility that there's a second alarm nearby which is the source of the noise.
After 3 goddamn hours of searching, and having run to the store to buy 9-volts and replaced every goddamn battery in the house, we found a carbon monoxide alarm thrown INSIDE the return air duct of the HVAC unit...