The military mounted a massive rescue operation in the worst-hit areas, plucking stranded victims to safety.