Yep always best to disconnect battery from system as mentioned above, you risk frying your electrics in either motor or console. Also consider; if your battery is deep cycle or not as I think you may need a voltage sensing charger to cut of charge when battery full or risk overcharging (boiling the acid) & shortening the life of your battery
R