If it has a sliding tray, sometimes there is a small hole below the drive that can be pushed by a bent paperclip, forcing it open. Otherwise, send it into an Apple store for servicing.
Also note that on computers with OpenFirmware (PowerPC G3-5) you may be able to boot into OpenFirmware and send the command "eject cd". To boot into OpenFirmware hold Command-Option-O-F. To boot into Mac OS simply send the command "mac-boot".
you will probably have to hit the eject button, then pull on the CD tray if it is stuck closed with a CD jamming it. Be careful not to pull too hard, or you could damage the drive
They get stuck when the CD Changer is starting to get worn out.
take the CD player apart
Don't know how stuck the CD is in the CD player, but I used another CD to pry it up and out - worked fine for me.
Get a new CD player
CD
There are a number of ways you can remove a stuck CD from a VW Beetle. You can take apart the CD player for example.
the cd is stuck in a 2002 mazda tribute how do I get it out the eject button does nothing and the cd will not play
put the CD into your laptop CD drive right click on the CD and setup sharing - share the CD Drive letter allowing everyone to have read access to it.
How do i remove a stuck Cd from my 2005 Toyota Highlander? The CDs will not eject.
Tweezers!
You don't!