UK food production minus exports is 55% of the food consumed in the UK. [1]
Turn off the exports, and you're going to get close to self-sufficient. If the EU disappeared tomorrow, I doubt the UK would starve.
[1] https://www.gov.uk/government/statistics/food-statistics-poc...