NHTSA complaint 11182017: 2018 Cadillac XT5

An owner complaint received by NHTSA on February 22, 2019, about: Power train. Complaints are unverified reports from owners and are not confirmed defects.

The complaint

I was idling in line for about 5 minutes waiting for food at mcdonalds. Transmission was in drive. Once served, I started to drive away but car shuttered and stopped abruptly. Apparently transmission will automatically shift to park after idling for several minutes even if it has started to move forward 1 or 2 mph. What would have happened if I was traveling faster when it shifted to park? Is this feature a governmental requirement? Why?

The vehicle

Source: NHTSA owner complaint 11182017, as published by NHTSA. Email addresses removed.