HALF MOON BAY, Calif.—California wildlife officials have called off the search for a mountain lion that attacked a 5-year-old boy who was on a hiking trail in rural Northern California, saying there was little chance of capturing the animal.

An uncollared adult female mountain lion photographed with a motion sensor camera in the Verdugos Mountains in Los Angeles County, Calif., on July 10, 2016. U.S. National Park Service via AP