Hmm, it is a bit of a concern that pressing the parking brake button didn't work - maybe the transmission has to be in neutral or park for the brake button to work? I know with that car you have to tap the gear shifter twice to move from reverse to forward, as I think it goes through neutral on the first tap. I believe you also have to have your foot on the brake pedal to change from reverse to forward. It's a bit confusing as we have the full EV version here in AUS, and when I drove my mom's 2018 XC40T5 I had to be aware of the differences in changing gears etc. as on the Android OS cars, you only have to tap the lever once to go from park into drive, and drive into reverse, etc. I don't think there would be any risk switching off the engine as it should automatically go into park when you do that.