In some CBLTAC seminars we explain and demonstrate (with a wood gun) a technique to disarm a person with a pistol. As part of the technique, the defender must grasp the barrel and slide of the pistol to control the weapon.
Many people believe this will cause an injury if the pistol is fired. If done correctly, not only will the technique not injure the defender, it will not cause pain.