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

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
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.