why is my engine not wanting to idle after taking one of the battery cabels off on 2005 Mazda Mazda3

took nbattery cable off an put it back on now it dont want to idle

1 answer
If that is all you did, it needs to relearn how to idle again. Start it up and keep it running for a while. It should be ok.