I believe this issue has been posted before but for the normal game modes:
If a character stands right in front of you your gun will automatically be retracted. This is particularly annoying in the Frenzy gamemode where zombies try to get near you all the time. I've had countless situations where i was not able to shoot and subsequently died because the weapon was retracted because of this mechanic.
Weapon retraction causes unnecessary deaths in Frenzy