If you leave it plugged in, it will slowly discharge, and if you leave it in long enough, it can even drop below 3.0V per cell, which can (and eventually will) damage or even kill the battery. So I recommend to always disconnect the battery. (Even better and safer would be to take the battery out and store it outside the car, putting it into storage voltage before putting it away.)