I always unplug the t/m before charging and even when not charging. Heres one reason why.
I have a bow mount T/M (hand controlled). Someone accidently turned the handle to ON, causing the prop to rest against the bow of the boat, unable to spin. The motor got VERY hot but luckily was not damaged before I noticed it.