unmount and remount google drive in colab code example Example: unmount google drive colab from google.colab import drive drive.flush_and_unmount()