Just thought I would leave this here in the concern of city boys getting hurt.
Gumtree lists what to do if you’re confronted by a baboon:
Stand still and remain calm. Sudden movements will make it act defensively.
Do not shout or make wild gestures as this will encourage an attack.
Spray the baboon with a strong stream of water as they are not fond of water.
Stand still, don’t show your teeth, and look them straight in the eyes.
Do not try to take anything back from the baboon, as it will fight back. Baboons have both musculature and teeth that can do serious damage to human flesh.
Back away slowly and do not block its escape route.
Do not threaten their infants because the alpha male, will protect them from you with aggression if necessary.