There no rule that the mortgage will run for 30 years. It’s just what most people choose. But there’s nothing stopping anyone from paying back the entire mortgage in 10 years.
Apart from not having the money.
Whatever new rate you might get is not the business of your previous loan holder.