If the economy truly crashes then inflation will stop.
The reason for this has to do with the modern private credit system.
In the “old days” the increases in the money supply was just the money created by the fed—which was largely a function of government deficits.
However, there is now additional “money” in the system—and that is any new outstanding debt—new credit card debt, new bank loans, new car loans, new mortgages, new corporate loans etc.
That private “money” literally is created out of thin air.
When the economy crashes that “other” money goes away which deflates the currency—so even if the fed is printing up a storm it is either partially or fully offset.