They rang 999 when they realised they were surrounded by water