The MacBook has a front-loading slot with a mechanism that grabs the CD disc and pulls it into the drive. A CD can get stuck inside of the mechanism and refuse to eject itself. You can remove a stuck CD from a Mac Book when the power is off through the judicious placement of another optical disc in the disc slot. You will also need a few tools to help you remove the CD. Done correctly, neither the CD nor the Mac Book will be damaged by the procedure.
Open the lid of the MacBook. Place the MacBook on a table. Move the front end of the MacBook up to and over the edge of the table so the disc slot at the front end is unencumbered.
Apply a strip of double-sided cellophane tape onto the DVD an inch in from an edge. Turn the DVD over.
Insert the edge of the DVD that is closest to the strip of double-sided cellophane tape into the front of the disc slot.
Push the DVD about halfway into the disc slot. Push down on the DVD.
Gently and slowly pull the DVD back out of the disc slot.
Remove the strip of double-sided cellophane tape from the DVD. Throw the strip of double-sided cellophane tape in the trash.
Wrap cellophane tape around the jaws of the needle-nosed pliers.
Clamp the jaws of the needle-nosed pliers gently onto the edge of the CD that has been pulled out from the disc slot by the DVD.
Slowly pull the CD out of the MacBook's disc slot. Remove the cellophane tape from the jaws of the needle-nosed pliers. Throw the cellophane tape away.
Clean off the CD with disc cleaning solution once it has been removed from the disc slot.
Do not use a lot of double-sided cellophane tape because it will leave a sticky residue on the needle-nosed pliers.