The animal was safely sedated and will be released in a nearby forest.