If you have the misfortune of having a DVD or CD stuck in your drive, here’s a tip that will work in most cases.
Make sure you have unmount the disc by right-clicking (ctrl-click) the disc icon and selecting Eject disc.
Restart your computer. As soon as you hear the restart sound, hold the left mouse button down until the disc ejects. You can also use the bar beneath the trackpad and keep it pressed until the disc ejects.