CondoneThis.com: REMOVING A CD FROM YOUR MAC
1. Apple > About this mac > More info...
2. System Profiler opens > Hardware > ATA (if you have ata disk drive) > BSD Name (something like disk1)

3. Open terminal.

4. Execute code:
diskutil umount disk1
diskutil eject disk1
5. PROBLEM SOLVED! hopefully :)
Check out CondoneThis.com