Obviously there must be a reason !!!!!!

Twice now the engine has just stopped for no apparent reason, both times at idle in a traffic queue. Restarts with no problem first time of asking. Strangely, went out a couple of days ago to start it and would barely turn over

Left it tell next day, went out and it started, although with its normal gusty self. Yesterday, it was flat again. I attached a starter pack to it and it fired like a brand new car. Thing is I have just tried the Starter pack and its nearly flat. The car has just started again 100% perfect.
Could a loose wire, say earth connection cause this. By just connecting the starter pack, could this have made the connection make contact. Car has not been anywhere to charge it up, but the battery is reading a good 12volts on my meter. Could a loose connection cause the engine to stop after being driven for ten miles.
Baffling
For those that know....I still have the slight misfire, but I don't expect that is connected in any way. Have not had time to delve into that one
