What's the exact model I.D. of your Tab E?
What software were you using on your PC to flash your Tab? (presumably Odin? Heimdall?)
What version of Android was your Tab running and which version of Windows is your PC running?
Try removing whichever utility you were using from your PC, and reboot your PC. If your Tab isn't mounting properly it's most likely a driver issue but if you have competing programs (i.e. Kies and Odin) this often creates a conflict as both utilities are trying to use the same system resources to link to your Tab (probably a USB matter). Also, if you've been plugging your Tab into a USB hub, try plugging it directly into a USB port on your computer.
You might want to first try using Smart Switch to restore your Tab. This may or may not work in this situation but it's worth a try, and being Samsung software it's useful to have as a maintenance and back up utility for your Tab. It also installs a valid, current Samsung driver, which might help with basic USB connectivity issues.
https://www.samsung.com/us/smart-switch/
If Smart Switch doesn't fix your problem, you'll have to resort to manually re-flashing your Tab. Install the Odin utility, instead of using the most recent version try using a version that matches up with what your version of Android your Tab is running. Odin has backwards compatibility issues so the latest version might not work as well with older hardware/software. Download the version that's appropriate for your situation from here:
https://www.droidviews.com/download-odin-tool-for-samsung-galaxy-devices-all-versions/
To get the necessary ROM for your Tab, try going here:
https://updato.com/firmware-archive-select-model?q=GALAXY+Tab+E&exact=1&r=&v=&rpp=100
Find the ROM that matches your Tab E model I.D exactly, do not mix-and-match. Samsung stock ROMs are
not interchangeable. Download the file (probably over 1GB) and follow these step-by-step instructions on the process:
https://updato.com/how-to/how-to-install-an-official-samsung-stock-firmware-using-odin
By flashing a stock ROM this will restore it to its original, un-rooted state, along with restoring a stock Recovery. So you'll need to go through the process of rooting it again and installing TWRP.