In Davies’ lair, Ava finds his calendar and realizes that tonight is the night Davies was originally planning on using the time machine.

Ava is stressed but Behrad is finished so they get ready to go. But as soon as Behrad turns on the machine, Ava and Gary DISAPPEAR. Sara starts to panic. If time travel doesn’t shake out the way it was supposed to, that means the Time Bureau never existed, which means Sara never met Ava. An inconceivable existence.

Sara goes back to the team and begs them to help. They turn on the Hoover bot and Zari and Nate take him to Edison to get the time travel schematics back.
While they do that, Sara goes to Bellvue to break Dr. Davies out so he can follow his original plan and reset the timeline. He doesn’t trust her, after all she’s the reason he ended up here in the first place, but her desperation to get Ava back kickstarts her assassin instincts and she threatens him.

A knife to his throat gives Davies a panic attack, and realizing she went too far, Sara tries to talk him down from it. She apologizes, and tries to more calmly explain that he is important to the history of time travel, and to her finding her way back to her wife. His eyes light up a little when she says this. “You married a woman?” He asks, something like awe in his eyes. She smiles and says she’s still getting used to the word “wife” but yes. She’s in love and she needs his help to get her beloved back.

Davies clings to a medallion with the name Thomas on it and he promises to help Sara get her person back if she helps him get his back, too. They spit shake on it and head out into the asylum.
Edison is surprised to see Hoover take an interest in some mad scientist’s schematics, but he’s willing to cooperate…that is, until Hoover short circuits and explodes. And upon witnessing that, Edison has a heart attack and drops dead. At which point I was playing the part of Ava and screaming alone in my living room about the brontosaurus-sized footprints.
While they clean up the bot bits, Zari confesses to Nate that while she does want to move in with him, she would rather live together in the Totem than the mansion. She found a community there, and it feels like home.

For some reason this feels like a more complicated option to him than living in the mansion (I’m not sure how the pocket dimensions are different but sure) and she gives him time to think.
Just then, a spaceship light shines through the window so they take cover under a desk.
After coming to a dead-end, Davies pretends to take Sara hostage to get out of the asylum, and somehow it works even though Sara hasn’t been a damsel in distress since the day the Queen’s Gambit went down and is actually, adorably, quite bad at it.
While Zari and Nate are hiding, a new Robot Hoover and a Robot Edison come to play cleanup crew, proving the Legends’ earlier theory that whoever is behind all this does want to preserve the timeline.
On the road to New York, while on a short break, a cyclist comes by and steals Cannonball’s car, and the Cannonball, desperate to beat his record, steals the bike in return, leaving Spooner and Astra in the street, and their Gideon accidentally stolen.

Sara brings Davies back to his lair and introduces him to the Legends she has left, and he’s amazed to see so many time travelers. Zari and Nate update her about the new robots and the new Waverider attack, but they did get the plans they needed to finish the time machine. And then they just have to hope their disappeared friends come back.

When Davies turns the time machine on, as he was supposed to do, Ava reappears.

Sara immediately starts apologizing and is so, so glad to have her wife back. Sara blames herself and apologizes, but Ava is understanding; she’s also just glad to be able to hug her wife again. And now that the part is in place, they can go back home.

Stuck with New York City in view but no way to get there in time, Spooner picks up another rock and asks Astra to cast another luck spell. Astra says she can’t and when Spooner demands to know why, she confesses that there’s no such thing as a luck spell. She faked it to give Spooner hope. Spooner doesn’t understand; it had been working. But Astra says they made their own luck. And they have to make some more soon because they’re running out of time.

When Gideon wakes up in the back seat of the car to see only a stranger in the driver’s seat, and knowing there’s limited time left to save the Legends, she smacks the man on the head with the luck rock and steals the car back to go save the day.

As the time machine whirs to life, Ava tells the team that she has plans to take them all to a safe house in Tahiti until they can sort out what to do next to fix the timeline. Sara thinks this will also work as a proper honeymoon spot. And surprisingly Ava lets her count her chickens before they hatch out of the time machine.

Davies turns on the time machine that only Team Spatula knows will kill them, as Gideon runs as fast as her fresh human legs will take her, and Spooner and Astra try to knock out the city’s power with a good old fashioned lightning spell.

The music ramps up and the stress levels are high but just as Gideon gets to the room and Astra and Spooner send NYC into a blackout…but did they do it in time?

As soon as the power is out, Astra and Spooner run and run to find their friends and are relieved when, instead of a pile of ashes and blonde hair, they find Gideon telling the Legends the tale of how she became human and got to New York.

Everyone is happy to finally be reunited, all of the Legends together again, and they have a nice group hug about it.
Behrad gives Astra some whiskey, which she happily accepts, and then she makes this weird flirty face at him? And frankly I had forgotten they were even being set up to be a thing, and maybe I could have gotten behind it but then they put Spooner and Astra together for weeks and gave them a robot-turned-human child so I will no longer be accepting a heterosexual option for either of them, thank you. (I also think they hinted at a possible set-up between Gary and Gideon in this episode but I really hope it was just Gary’s boss kink and not something I have to worry about.)
Sara spends some quality time with Ava, afraid that Ava could fritz out again at any moment.

She didn’t really understand the implications of the footprints Ava was always talking about until one of them left a crater in her heart. She lost her wife and her co-captain, but she also lost her safe place. She lost the promise of a future together, of sunsets they’d never see. Ava reassures her, saying she’s here now and that’s all that matters, and kisses her to prove it’s real.

Finally reunited with Gideon, they ask her why Davies isn’t credited as the official father of time travel, and she explains that while his schematics were close, the energy conductor they’d need simply won’t exist for another 300 years. Except, they happen to have a 300+ year old robot head in a box, that happens to have that very technology.
And so they use it to time travel, and luckily they don’t explode (it’s only episode 5 of the season, that would have been pretty awkward) but unfortunately they don’t seem to be in Tahiti, either.
But the important thing is, they’re all together again. And as long as they can keep anyone from disappearing from time and space, they’ll be able to get out of this mess.
Next week, unfortunately the mantle of being obsessed with a sociopath they think is charming is being passed from Supergirl to Legends and Bishop is back, but I’m sure our wacky band of misfits will make it fun, anyway. See you then!