• Open a Terminal Session and type in the following command

    eject or eject /dev/cdrom
    
  • If you need to close the CD Rom use the command below

    eject -t