Hmm... I dislike it when researchers use anthropomorphic reasoning, and apply it to fungus
I think it's probably more likely that whatever the mechanism is that causes this reaction, it makes more sense from a nutrient perspective. Lightning striking an area means that almost certainly there will be a fire, or at least dead plant material in great abundance for a short time. So, it is not a response to danger, but rather more like a reaction to a dinner bell being rung. Fungi are colony organisms, and its very, very unlikely that you could extinguish an entire colony of mycelium with a single lightning strike. Therefore, I would rather use the analogy of getting slapped in the face
Oh.. that was anthropomorphic.. ah well!
Anyway, I am surprised they are not looking at the substrate before and after the strike and testing the chemical makeup. Lightning (electricity) could have incredible, short term oxidative potential being applied to the salts in the substrate, in which case the fungus would suddenly have a lot more O2 available to them, and since mushrooms are essentially aerobic, that makes sense as well. Since the earth is normally the anode in a discharge, that makes a lot of sense as the anode in an electrolytic cell is also oxidative. Plus, in a lab they could test negative and positive electrical discharges and see the difference, if there was any. They don't seem to be being very rigorous.. or, at least, are not revealing any of these possibilities in their writeup.
Food for thought!