Hi ,
Sabya here, Independent Windows Adviser. Hope you are doing well.
If the usb is still scanning that means there is an issue with the file structure and you will need to format and fix it.
You can shutdown the pc and then safe to eject it.
In the near future please backup the drive and do a format to fix the issue.
Regards
Sabya