A black bear swings its had back and forth inside a pen.