AController::DetachFromPawn

Detach the RootComponent from its parent, but only if bAttachToPawn is true and it was attached to a Pawn.