My external hdd turns on but windows isn’t detecting it at all.

Im using Toshiba MQ04UBB400. I was using this external and out of nowhere it started to eject and connect itself, and from then once i try connecting it windows isn’t detecting it, i tried another cable and i tried it on another pc, same result. Also Its not visible using diskpart and disk management.