I have an external drive which I turn off often. I haven't had that happen. But I found this site which may solve that issue: https://www.uwe-sieber.de/usbdlm_e.html
― formerly abanana (dat), Friday, 2 February 2024 06:31 (four months ago) link
Cheers!
― Tsar Bombadil (James Morrison), Saturday, 3 February 2024 06:20 (four months ago) link