Setting to DX12, but when restart, it´s BACK to DX11

How do you exit the sim? I have a bad habit of using Alt-F4 all the time, and I need to remember to exit properly if I want the settings to stick.