Yes, manufacturing does take time to ramp up, but higher prices mean that people use that good more efficiently, try to find substitutes, and try to import more from elsewhere. Also if there was a norm of not having price limits during emergencies, companies (and scrappy entrepreneurs) would have an incentive to stockpile goods in times of plenty so they could sell them at a large markup in a crisis.