How to force ejection of a DVD
Reboot the computer while holding down the mouse button - if there's no physical issue preventing ejection, the disc will be ejected.

You can of course use terminal to try to force an eject, but this requires a little knowledge of text commands and is covered here:


Is there a Terminal command that will force open the DVD tray?