edit: ah yeah. potentially stupid question. obviously if something starts going wrong, even the most level headed people may panic.
To warn you, it is fairly disturbing.
As a diver you are usually calm and rational when dealing with expected risks (low air, bad visibility, etc.) but anything unknown or unexpected can trigger panic.
A friend of mine is a commercial diver and he has stories of seasoned co-workers panicking for extremely weird reasons.
A most recent example was on my last trip I tried UV-light diving, which is when you only use UV-light with a filter on your mask to protect your eyes. You get to see some incredible new things. The divemaster stressed how important the filter was to protect your eyes. During the dive the filter on my mask came off. As instructed, I immediately closed my eyes and Waited for the divemaster to notice and tap me to let me know they had switched back to white light and it was safe to reopen my eyes. That half minute felt like an eternity.
A number of unusual situations can trigger a panic. Primary regulator failure, your mask being knocked off, unexpected fauna behavior, becoming lost, losing your group or your buddy, unexpected currents. All of this is covered in the training/certification, but not all training is equal, adequate, or regularly revisited.
What was the model of dive light used? Was is a long-wave light like those in tanning beds or disinfecting lamps? I would imagine that any light unsafe for your eyes would also be damaging to the coral and fish.
First, the kind of diving is more commonly referred to fluorescent diving and it doesn't use UV light, its blue (440-480nm) light. Second the filters were yellow light filters to remove the remaining light so that it didn't overwhelm the blue and you could see the fluorescence.
I am a seasoned and experienced diver. I used to dive literally on a daily basis. Until that one time when without warning I totally freaked the fuck out at 20 mtr over nothing at all, with only UP UP UP UP UP on my mind. I managed to keep a lid on it and safely ascend, but that was also my last dive. I am not sure this will won't happen again, and I could endanger my buddy, group, or myself.