Unless you have an ARM (adjustable rate mortgage) or some other rare, weird product, your note from the lender will specify exactly the monthly payment and when it's due, when it's going to mature, etc and those terms can't change. Even ARMs have specific terms about when your rate and payment can change and how much, including a cap. MOST (not all, as there are some special cases, but most) mortgages do not have pre-payment penalties, so you can pay it off early. Just like pre-payment penalties, most loans do not have demand features (where the bank can call in the loan), either, and if your loan does have one for some weird reason your note would spell it out.
Pull out your note and reread it. (If you need help translating the mortgagese let me know.) It will give you the specifics of what you agreed to when you signed your name on the line (and this is why you should never sign something you haven't read and/or don't fully understand).
Here's where I depart from what I *know* and move to opinion. If it were me and hyper inflation set in I would pay off my mortgage as quickly as possible. The money will become more and more worthless, so having it sit around cheapens the value where owning your home free and clear gives you a more secure base and all you'll have to worry about is taxes and insurance.
The one upside to keeping the money and continuing to make payments is it keeps your "nest egg" intact longer in case things get better sooner and it's not like your payments are going to be changing, so it could be smarter to do that. It really depends on your risk tolerance, your specific situation, etc.
(BTW, I am not a lawyer, accountant, licensed loan officer, etc. I do have over a decade's experience in the mortgage industry including closing, underwriting, processing, compliance, and sales, but I am not offering legal advice here. Don't sue me, bro.
)