Oh, dear ! A good few years ago same scenario!
it was a deluge out of the blue . I covered the brood box with the roof and covered the stack of supers with a sheet of plastic .
The rain stopped in half an hour .
I relit the smoker , went back, took the roof off the brood box and carried on...