Yep, that's why we pay farmers to keep half their fields empty, because in case we need those fields (eg. war somewhere), we still have farmers with all the machines and infrastructure needed to produce food, that can expand onto the now-empty fields.