A visitor to South Africa’s Johannesburg Zoo was able to film the moment a gibbon escaped his enclosure.

The primate was able to climb onto a railing near onlookers before moving into another area. According to the patron who filmed the incident, zoo officials were called to return the animal to its home.

“What a surprise to see one of them swinging on the outside of the cage,” the witness said.

Here is the video: