@cj I have used shakers, shrieks, etc to "interrupt" my dog with surprise. Usually followed by a command they know, but never a "soft bonker" to strike them.
Clearly positive punishment and potentially wrought with fall out for the dog.
Maybe as last resort, but seldom have a soft rolled up...