The man was walking with a group of dogs near the water.