Walking out of the mouth of the cave does not mean that they walked the entire way. There is a diagram of the cave on the internet somewhere. In it you can see that there are several places where the passageway is either flooded too deep to walk or entirely submerged. I think that at least some of it is flowing water as well, not still like in a lake.
Thanks.