I remember a pilot in the UK who was given the order to fire on a UFO. I can’t remember whether he fired or lost contact (I seem to vaguely remember that he couldn’t lock on).
And, there were a lot of incidents where the moment the military pilot armed their weapons, they lost all electronic control of the weapons and usually of the plane, too.