In this situation, interest rates will be higher so you wouldn’t want to refinance. You also will have negative equity in the home, due to values falling, so may have trouble writing the loan.
The total amount of loan will differ though. Why pay 1mil when you could pay 900k instead in 6 months?