CHEVY WILL NOT KEEPING RUNNING/HELP on 2010 Chevrolet Malibu

KEEP TURNING OFF FOR NO REASON

2 answers
Well there is a reason, it needs to be scanned to find it. Check engine light on?
poss still under warranty.or listen to #1