/Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h
The agent is deactivated and will no longer be processed. ItsdtCrowdAgentobject is not removed from the pool. It is marked as inactive so that it is available for reuse.
void removeAgent ( const int idx )