macOS will create local backups (space permitting) and then dump them all at once when connected to the Time Machine drive. Though of course you won't have the backups from between the last time you connected the drive to the time your computer was hosed.