There's not much you can do, in that event! How one would know whether to pick up and move your tent, when it is impossible to know exactly where a bolt will hit? The only way to be safe is to pick up and leave when a storm is coming in. Or, when instability is forecast, to stay out of the mountains!
I've been through a lot of lightning storms, with a few times, seeing flash, then hearing boom, almost immediately! You just have to pray your time is not up, and trust to the stats where only a few hikers get hit by lightning a year. Nice to have someone nearby to administer CPR in case they detect a direct hit!
Bolts can hit anywhere. You need not be any place high and exposed to get struck! I was camped along the JMT near a low lying lake, in a broad canyon, and still there were strikes coming close! Being in a forest, with tall trees about you, won't necessarily help, either.
You just have to realize, in a mature fashion, that hiking, let along mountaineering, has its inherent hazards, and there is no real "safety" anywhere, including behind a locked and bolted door, inside your own home!