The disk wasn't ejected because one or more programs may be using it.
Your Mac won't say which program. Unbuckle will. It finds what's holding your drive, explains it in plain English, closes only what's safe, and ejects it.
Free for 14 days and 10 rescues. For macOS 14 Sonoma or later.
Why this happens
Before a drive can be ejected, every program on your Mac has to let go of it. If even one still has a file or folder on the drive open, macOS stops the eject so nothing gets cut off halfway. That's a good thing. The trouble is that the message doesn't tell you who's holding on.
The usual suspects:
- A Terminal window whose current folder is on the drive. Even an idle window counts. This is one of the most common causes.
- Spotlight indexing the drive so you can search it. It often starts right after you plug a drive in.
- Quick Look still holding a file you previewed with the space bar.
- An app saving a file, or with a document from the drive still open, such as a photo or video editor.
- Time Machine backing up to the drive, or checking it.
- Background helpers like cloud-sync tools, antivirus, or media apps scanning the drive.
How to fix it yourself
You don't need any app for this. Try these in order.
- Wait a minute and try again. Spotlight and other macOS housekeeping usually let go on their own within a minute or two.
- Close windows and documents from the drive. Quit apps that have files from the drive open. In Terminal, type
cd ~in each window, or close the windows. - Find the program yourself (advanced). In Terminal, run the command below, using your drive's name. The first column is the program holding the drive.
It can take a while on a large drive. Programs that belong to macOS may only show up withlsof +D "/Volumes/Your Drive"sudoin front. - Wait for anything that's saving. If a copy, export, or backup is running, let it finish. Don't end a program that's in the middle of writing.
- Force Eject only as a last resort. It cuts the drive off whether or not something is writing to it. If nothing is saving, it's usually fine. If something is, the file it was writing can end up damaged.
The message “Disk Not Ejected Properly” is the other side of this problem. It appears when a drive is unplugged before it was ejected, often right after an eject failed. Ejecting cleanly first avoids it.
How Unbuckle helps
Unbuckle lives in your menu bar. When you eject a drive and it's stuck, Unbuckle does the detective work for you.
- It finds what's holding the drive. Including the macOS helpers, like Spotlight, that are easy to miss.
- It explains each one in plain English. “A Terminal window is standing in a folder on this drive.” No process IDs unless you ask for details.
- It closes only what's safe, with your OK. One button closes the safe ones and ejects. Anything that needs a decision, it asks about first.
- It ejects. Then it tells you it's safe to unplug.
If a program is writing to the drive, Unbuckle waits for it and tells you why.
Force Eject is only offered after a normal eject fails, nothing is writing, and you confirm.
No tracking or telemetry. It only goes online to check for updates and your license.
Price
- One-time purchase. No subscription.
- Free for your first 14 days and 10 rescues, whichever lasts longer.
- Without a license, it still shows what's holding a drive and ejects drives that aren't in use.
- macOS 14 Sonoma or later.
$4.99 unlocks one-click Close & Eject and Eject All.
Questions
What does “The disk wasn't ejected because one or more programs may be using it” mean?
Some program on your Mac still has a file or folder on the drive open. macOS won't eject the drive until that program lets go, so nothing gets cut off mid-save. The message doesn't say which program it is, which is why it's frustrating.
Is it safe to click Force Eject?
Only if you're sure nothing is saving to the drive. If an app is in the middle of writing a file, forcing the eject can leave that file damaged or incomplete. It's safer to find out what's holding the drive first.
Why does my disk say it was not ejected properly?
“Disk Not Ejected Properly” appears when a drive is unplugged or loses power before it was ejected. It usually follows a failed eject: the drive was busy, so it got unplugged anyway. Ejecting cleanly first avoids it.
Will Unbuckle close my apps without asking?
No. Unbuckle shows you what's holding the drive and what it plans to do. It only closes things that are safe to close, like an idle Terminal window, and only after you say OK. It never closes anything that is saving to the drive.
Why does it ask for permission when I set it up?
Some things that hold drives, like Spotlight, belong to macOS itself. To see them, Unbuckle installs a small helper that macOS asks you to allow once in System Settings. The helper can only do a short, fixed list of things, like asking Spotlight to stop indexing a drive. Unbuckle still works without it; it just can't see those macOS helpers.
Does Unbuckle collect data?
No. There's no tracking or telemetry. Unbuckle only goes online to check for updates and to check your license.
How much does Unbuckle cost?
$4.99, once. No subscription. Everything is free for your first 14 days and 10 rescues, whichever lasts longer. After that, Unbuckle still finds and explains what's holding a drive and ejects drives that aren't in use, for free. The license adds one-click Close & Eject and Eject All.