A holodeck character being able to disable the holodeck safety protocols by shooting his holographic gun at a control panel seems like a serious flaw in the safety protocols.
1. Holographic objects (like pellets) should not be projected outside the bounds of the simulation (which they'd have to be, to impact a control panel).
2. Hardware failure should cause immediate shutdown, for obvious user safety reasons.