A lifeboat was needed to rescue the animal and its owner