An outstanding TSP loan cannot be converted into an in-service withdrawal or vice versa. Funds distributed as an in-service withdrawal cannot be returned or repaid.