First make sure you aren't currently in the /mnt/cdrom directory via a shell or graphical file manager.

Try: "umount /mnt/cdrom"

If that doesn't work try that or "eject cdrom" as root. Hopefully that should work.