If you use that 10000 in repaying your loan and nothing remains from it, then no Khums on it as you already spent it is repayment of your loan. If you don't intend to use it in repayment if your loan and want to keep it as a saving, then Khums is applicable on it like any other saving.
Wassalam.