When a gun is fired, the bullets are propelled forward by the expanding gases generated by the combustion of gunpowder. The chamber of the gun is designed to contain and direct this explosion, ensuring that the bullet is propelled out of the barrel in a controlled manner.
The interior sides of the chamber are typically designed with features such as rifling, which are spiral grooves that impart spin to the bullet, improving its stability and accuracy during flight. These features also help guide the bullet out of the chamber and into the barrel.
When you shake a gun while it's shooting, the forces acting on the gun are relatively small compared to the forces generated by the bullet's propulsion. The gun is designed to withstand these forces without damage. The components of the gun, including the chamber, barrel, and locking mechanisms, are engineered to be robust and secure, ensuring that they remain aligned and locked together during the firing process.
Additionally, modern firearms often incorporate safety mechanisms and design features that prevent the gun from discharging unless the trigger is intentionally pulled. These mechanisms help ensure that the gun does not accidentally fire or cause damage when subjected to normal handling or mild vibrations.
While it is generally not recommended to shake or mishandle a loaded firearm, the forces generated during normal shooting are typically well within the design parameters of the gun, and the components are constructed to handle these forces safely and reliably.