2012 Macbook Pro won't eject CD
Most Macbook DVD drives have a manual release. You'll need a straightened paperclip (or something similar) to push the release. The release is at the extreme right or left edge of the DVD slot (sorry can't remember which edge it's on—it depends on the model too). Insert the clip about 1cm. It should touch a hard surface. Carefully apply some pressure and the DVD will release. If the paperclip inserts more than 1-2 cm your on the wrong edge. Also be careful to not angle the paperclip.