What to check
Yes, you can switch the engine off while sitting in the car. Bring the car to a complete stop, hold Left on the D-pad to open the radio menu, then flick the Right Stick up to switch to Vehicle Controls and select Engine — follow the on-screen prompt to toggle it off, and use the same steps to start it again. The Vehicle Controls menu is also where you find the headlights, windows, hazard lights and, on some cars, the roof and trunk. If you are getting out, double-tap Triangle on PS5 or Y on Xbox as you exit to leave the engine, headlights and radio running — a single tap turns them off instead. The menu's options vary by vehicle, so a bike or a boat may show fewer controls than a car.
Editorial support reference, not an official Rockstar support response. If the issue continues, report the exact error, platform, game version, and checks already attempted to official support.