How to Eject a CD from Mac OSX with command line. Here is the command:

 /usr/bin/drutil eject

There you go!

4-4-2016