Not smart but we used to hit them with a hammer to get them to go off when I was a youngster.
That is one at a time, I doubt they would notice just one going off in a bag.