Yes, the 12v plug switches off when you turn the car off.
If you want something that comes on only when the driving lights are on, you can use the hazard lights button for power, too.
There are a few posts and how-to's here on doing this, maybe even a video.
Bookmarks