MMC Benefits Handbook
Distributions Including Outstanding Loans
If your distribution includes an outstanding loan balance, your outstanding loan balance will be a deemed distribution, your Vested account balance will be reduced by the amount of the outstanding loan and you will be subject to applicable taxes and penalties.
You can avoid owing taxes on the taxable portion of your distributed loan balance if you repay it and then roll over the entire amount.