2017 Nissan Sentra stopped on freeway

New 2017 Nissan off the lot, fast forward 2020 driving on the freeway car acts like it is not getting enough power to move and boom it just stops

Have you tried to restart it since?

Did the check engine light come on before it died?