I have a USB stick that won’t eject normally. How can I fix it?

I have a USB stick that I tried connect to my router.


But that I could not use.


So took it out of the router, and later, plugged into my Mac mini.


Ever since?


Instead of ejecting it normally, I have to force eject it.



The Info Pane tells me this:

Disk Utility tells me this:



Additionally, Disc Utility refuses to unmount the thing, nor run First Aid, nor Eject it.


Using diskutil in Terminal, tells me this:


How you I get this stick back to normal???


[Edited by Moderator]

Mac mini, macOS 15.5

Posted on Jul 19, 2025 4:57 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 19, 2025 8:54 AM

It sounds like your USB stick has gotten into a weird state, likely due to the router either not dismounting it cleanly or holding on to metadata that's now confusing macOS. When a drive refuses to eject and Disk Utility can’t unmount or run First Aid, it usually means there’s a lingering process or system-level lock on the volume.


I suggest trying the following:


First, let's check what’s using the USB stick via the following command in the Terminal:

  • lsof | grep /Volumes/Untitled

This will list any processes currently accessing the drive. If you see any results, make note of the PID (Process ID) in the second column. You can then stop those processes by running:

  • kill -9 PID

(Replace `PID` with the actual number.)


Next, let's try unmounting the drive using this command in the Terminal:

  • diskutil unmount /Volumes/Untitled


If that fails, try a more forceful command:

  • diskutil unmountDisk force /dev/diskX


Replace `diskX` with your actual disk identifier. You can find it with:

  • diskutil list


As a last resort, if using the Disk Utility didn't help, erase the drive.


Once cleaned up, avoid plugging it back into the router until you can confirm the router properly supports ExFAT or try reformatting it as FAT32 (MS-DOS) or APFS (if used only with Apple gear). Some routers are picky about filesystem support—even if they claim ExFAT compatibility.

6 replies
Question marked as Top-ranking reply

Jul 19, 2025 8:54 AM in response to Paul Downie

It sounds like your USB stick has gotten into a weird state, likely due to the router either not dismounting it cleanly or holding on to metadata that's now confusing macOS. When a drive refuses to eject and Disk Utility can’t unmount or run First Aid, it usually means there’s a lingering process or system-level lock on the volume.


I suggest trying the following:


First, let's check what’s using the USB stick via the following command in the Terminal:

  • lsof | grep /Volumes/Untitled

This will list any processes currently accessing the drive. If you see any results, make note of the PID (Process ID) in the second column. You can then stop those processes by running:

  • kill -9 PID

(Replace `PID` with the actual number.)


Next, let's try unmounting the drive using this command in the Terminal:

  • diskutil unmount /Volumes/Untitled


If that fails, try a more forceful command:

  • diskutil unmountDisk force /dev/diskX


Replace `diskX` with your actual disk identifier. You can find it with:

  • diskutil list


As a last resort, if using the Disk Utility didn't help, erase the drive.


Once cleaned up, avoid plugging it back into the router until you can confirm the router properly supports ExFAT or try reformatting it as FAT32 (MS-DOS) or APFS (if used only with Apple gear). Some routers are picky about filesystem support—even if they claim ExFAT compatibility.

Jul 19, 2025 1:11 PM in response to Tesserax

Cheers for replying, @Tesserax … !


First things first, the LSOF command did nothing.


So there was no process to stop.


The Unmount command gave this result:


“Volume (null) on disk8 failed to unmount”.


The forced unmount worked: I’m assuming it’s on a par with the Force Eject dialogue button.


And using the Erase command in Disc Utility give this:


As happened earlier … 




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I have a USB stick that won’t eject normally. How can I fix it?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.