A pellet was found lodged in the pet's eye during emergency surgery.