How to eject external drive

Probably a dumb question, but since it would be even dumber to not ask…

I’d like to use two external drives in rotation for backup purposes.
What is the proper way to eject or unmount an external drive from Rockstor system ?
Do I have to remove share and pool from the WebGUI or is there a scriptable way to do it from command line ?