Starts and dies for first three times

cold and the ecu would make sense. it did do a weird thing the other day where I tried to start it and after the second run and stop of it there was literally nothing when i turned the key, like the battery was disconnected. I let it sit for a few minutes when it did that and it was back to normal right after.

I pulled the clamps this morning and cleaned the posts just in case that was the problem, but I can see how it wouldn't like the jolts in the cold and just shutting down for a few minutes to kinda reset itself.