I think ops point still holds - actively modulated q switches could still have a failure that pushes the laser outside the safety parameters, no? I don’t think OP was necessarily suggesting a software failure.
Q-switching does not operate like a transistor's base. It is more like the charge pump on a camera flash. It will not produce a high-power pulse if operated outside of parameters. There are other ways with different physics but comparable principles.