Put a bung in it

Put a bung in it: Shut up. Stop talking. Also (in a hut or barrack-room), close the door.