A weapon having a barrel or launch tube for a projectile or shell preloaded therein together with a propellant charge. An active vent is configured on the barrel for preventing accidental firing of the shell if the weapon becomes overheated.