The injured dog came running out of the water and into the beach.