On Wednesday morning, a young American black bear was lured down from a tree at UNC REX Healthcare in Raleigh, North Carolina with jelly doughnuts.

Wildlife crews had laid out the doughnuts Tuesday night in hopes the bear would come down when the area had quieted down, WNCN reported. The plan worked; the bear climbed down around midnight, ate the sweet treats, and left.

“I was telling someone earlier, at least it’s not a cobra,” Karen Alexander, a hospital visitor, said to WNCN.

This time of year is when male cubs leave their mothers, so it’s not uncommon to see them in wooded areas, the North Carolina Wildlife Resources Commission said.

The agency also said the cub was not an aggressive animal.

“He absolutely is not a threat in my opinion,” Greg Batts, a wildlife biologist with the North Carolina Wildlife Resources Commission, told CBS. “He is frightened. He wants out of town as badly as everybody watching wants him out of town. I can guarantee you that.”