I don’t shut down before disconnecting, but I do (try to remember to) eject the external drives. Alfred makes that easy, but sometimes I just drag them to the trash.
The app linked above will do that automatically for you, and will also remount the drives on wakeup, and it’s cheap. I haven’t used it in a while though as I no longer rely much on semi-permanently attached external drives.