It can be a few things, but if there are no codes expect something mechanical. Fuel pump, transmission/torque converter. Some will say that sensors can fail without codes, but I’ve honestly never seen it happen IRL.
To get it to restart, try to hold pedal down and hold key for extended crank...