What to do when a USB SSD will not eject
Identify ordinary file activity before unplugging a drive or interrupting a transfer.

Close files and wait
Wait for active transfers to finish. Close documents, media previews and file-browser tabs pointed at the drive, then retry ejecting. If a backup is in progress, let it finish or stop it through its own interface.
Find the process safely
Check the operating system for a message identifying the application using the disk. Save and close that application normally. If you launched a shell or editor inside a folder on the disk, change its working folder or close the window.
Use shutdown when time matters
If eject still fails and you need to leave, I would shut the computer down normally and wait until it is fully off before disconnecting the drive. At your next session, confirm files open and test whether the same background app causes the problem again.