Maybe it was a touch lamp? (Like a clapper but works when you touch the body not through sound)
Not unless touch lamps are supposed to give you an electric shock :)
Not unless touch lamps are supposed to give you an electric shock :)