How can I remove a device from a rack?

Double click on the unit and click on remove.