It closes fuselage AC and ram air vents. Since they were left open the airplane took in water faster..
Ah, interesting.
It did stay afloat long enough for the nearby flotilla to rescue all those people standing on the wings. What a picture that was!