Chosen Solution

I have put a cd into the iMac which is not being recognised I am trying to eject it but when it is being ejected it is not coming out. I have tried to eject it by going into the terminal and writing “drutil eject“ but nothing is working. I would really appreciate it if someone could help me out. Many Thanks, Taza.

With either an Apple USB or BT keyboard you have an eject button (top right up marked key). Restart your system and hold it. That should eject the CD, do you hear the drive trying to eject?