318 MAX fuel economy builds?

An interesting thing this morning, I left the dome light and of course the battery was dead or close to it. I jumped the Van with the Dak (not running) and it was real hard to get running, cranked over a lot, after it started if I let off gas it died, would not idle. So I took battery cable off then touched the + and - for 15 seconds then jumped it again idled correctly then. I surmise that when jump starting the PCM kicked some parameters out of wack??