Police were monitoring the protest from a distance, but had left by the time the man pulled out a gun, local media reported.