Yes, that's a good mod if you're frequently under the hood. Did the same .... I also did this a while back ...
Only when servicing...don't leave it unplugged permanently otherwise the security alarm will go off when car is shut down. It thinks someone is breaking into the hood.
I haven’t had that happen and it’s been a week. I’m pretty sure I have an alarm because the dedicated horn is present.
I will have to try that connector disconnect again, I do remember when I re-installed the plug with the doors closed and locked, hood open obviously (car in "sleep mode" more than 10 minutes after shutoff), the alarm went off - as I had to scramble to find the key fob to shut it off. I had been testing the 12V draw at the time and had left the hood open for a couple of hours monitoring with a meter. Maybe it does work OK just disconnected, just remember if re-installing it, do so when the car is unlocked and "awake", or try the above to find out for yourself This was on my 2018 built model.
Since the disconnected plug (fortunately) indicates a closed hood I can't see it being a problem other than in that particular case.