fortunately , dog had followed him to the river .