In general a CD or DVD can be ejected on a Mac (MacBook) using the physical eject button or from the finder without any problems, but occasionally this dont work and the disc icon might disappear from your Desktop and you cant get the disc out of your computer. However, there is a trick you can try to extract the stuck disc.
* Restart your Mac
* After you hear the startup chime, press and hold your mouse/trackpad button
* After a minute or so and you think nothing is gonna happen the disc ejects
* Release the button once the disc ejects