Car will shut off without any notice but will start right back up on 2012 Nissan Altima

Why dose my wifes car go dead with out any notice she she can stop an it will start right back with no problem

Asked by for the 2012 Nissan Altima

Call dealer with vin, PCM re-flash may be in order.