Disconnect is performed by a reclosure. A box, typically on the pole, that disconnects local distribution. And that can change where your power comes from.
Lightning created a temporary short circuit. A short circuit remains unless power is removed. So the reclosure disconnects AC mains. Let's a lightning created short circuit dissipate. Then connects power again. This may happen up to three times. After that, the reclosure decides that short is hard. And remains disconnected.