disconnect from drive colab code example Example: unmount google drive colab from google.colab import drive drive.flush_and_unmount()