Plugging and unplugging an external drive too often can cause it to develop issues. That's why it's better to leave the USB cable plugged in (especially the end that connects to the external HDD itself).