But, with hindsight, the way to have kept your local shops would have been to continue supporting them...
We're lucky to have a very good village shop, it sells meat from the butcher in the next village, fresh bread from the local bakery, a reasonable selection of fresh fruit and veg (OK there is nothing exotic, but if you want lettuce, tomatoes, cucumber, carrots, cabbage, potatoes, onions, bananas, apples, oranges etc you're fine and they sometimes have something a bit more interesting). But the point is that people support it, so it keeps on going. Most people in the village won't bother driving into town to go to the Co-op if they can get what they want in the village. And nobody in their right mind is going to drive an hour to the nearest Tesco!
We do a big shop in town once a week, and then get any bits that we need during the week from the local shop. I don't drive either, and certainly wouldn't catch a bus into town (only one an hour) then walk half a mile to the supermarket from the town centre in order to pick up some bread and milk when I can do it on the school run on my bike.