Check out example codes for "unmount google drive colab". It will help you in understanding the concepts better.

Code Example 1

from google.colab import drive
drive.flush_and_unmount()

Learn ReactJs, React Native from akashmittal.com