Disconnect the disk from your computer, then start up your computer again. If you still can’t eject the disk, choose Apple menu > Shut Down. If you can’t eject an external disk or storage device On your Mac, choose Apple menu > Log Out, then log in again. How do I manually eject a CD from my imac?
How do I manually eject a CD from my imac?.