Many people are aware of the "eject command" which works as you would expect.
To eject the disc:
sudo eject /dev/sr0
To insert the disc again you still use the same command but with the "-t" close try toggle:
sudo eject -t /dev/sr0
linux, eject, insert, dvd, bd, discmany, quot, disc, sudo, dev, sr, toggle,