Apparently the exfiltration of the Thai SEALs and doctor was a near-run thing. The pump lowering the water level back failed and water started rising in the cave so they had to expedite their departure ahead of the flood.