The dog runs out into the ocean .