Hello ColNic93.
Welcome to Microsoft Community.
Regarding to your information I assume that you can't disconnect your external hard driver and get an error message
"Problem Ejecting USB Attached SCSI (UAS) Mass Storage Device"
The reason behind this issue seems to be related to a process using your external hard drive. You can go to
Event Viewer -> Custom Views -> Administrative Events to check if there are any relevant events.
By clicking on an event, it will provide you with the PID of the process using your external hard drive.
Go to the Task Manager, close that process, and then try again to see if it resolves your issue.