They just don't shut up. There is some predetermined amount of time before the alarms turn back off. It seems to work fine with the merchants, but the rest of the alarms still continue to go off for some reason. They should shut up at about the same time (refer to ZDoom) until some action retriggers the alarm.
Edit: Updated version number