Simply, to eject an optical media that might be stuck in your Mac, press the Eject button, F12 or your mouse/trackpad button on startup until the disc is ejected.