Well, my previous car, a Mercedes GLC 350e, didn't do this.
I have to open the gate to my driveway manually every Day when I come home from work so I have lots of hands-on experience
On the other hand, my golf GTI with obviously only a normal gas engine, shuts down as well and forces you to restart when you get back in.