/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h
Checks to see if the current location is not encroaching blocking geometry so the character can leave NavWalking. Restores collision settings and adjusts character location to avoid getting stuck in geometry. If it's not possible, MovementMode change will be delayed until character reach collision free spot.
True if movement mode was successfully changed
virtual bool TryToLeaveNavWalking()