The guest operating system has locked the CD-ROM door and is probably using the CD-ROM, which can prevent the guest from recognizing media changes.
If possible, eject the CD-ROM from inside the guest before disconnecting.
Disconnect anyway and override the lock?"
eject cdrom
To cause disconnection to fail
------------------------------------
cdrom.showIsoLockWarning = "TRUE"
msg.autoanswer = "TRUE"
------------------------------------
To force to disconnect CD/DVD drive regardless of locking drive by virtual machine
------------------------------------
cdrom.showIsoLockWarning = "FALSE"
msg.autoanswer = "TRUE"
------------------------------------
Note: For more information, see Tips for editing a .vmx file (1714).