Debt recycling ; Change in loan provider

Assuming Debt recycling with etfs is a issue a long process that happens over a period of 5 to 10 years

What happens if you need to change your loan provider and refinance the complete loan mid way through the process