Of course, there is no logical reason why oil would completely disappear overnight. Natural gas and coal are also fossil fuels, and we have plenty of each.
In an emergency, cars and farm vehicles that run on natural gas could be developed and produced quickly.