Welcome to DSG Mechatronic's replacement units.
One of my 5 Mechatronics replacements 2 did the same as you have here.
Mine would turn car off put in park. Restart car, then gear selection would work again. till about 10 - 30 minutes later. It did this again.
It keeps loosing it's "Basic Settings" it's a fault with the Unit. A DSG Reflash from VW or New Basic settings applied will last 1-2 weeks. then end up the exact same.
It's a Faulty Mechatronics unit.
Just going my all my problems I had with DSG on my car, Oh and the excuse they kept giving me.