You can drive back to Ahmedabad and then transfer to the airport or railway station for your onward journey.