umount

Unlink a filesystem from its mount point, making it no longer accessible. A filesystem cannot be unmounted when it is busy. More information: https://manned.org/umount.8.

umount path/to/device_file

umount path/to/mounted_directory

umount --read-only path/to/mounted_directory

umount --recursive path/to/mounted_directory

umount -a