Biden wins re-election then resigns after he's reinaugurated at 12:01 on January 20th, his duty to stop Trump fulfilled.
Everyone will still be there so Kamala, now President Harris can have her moment as well.
And then we go from there.
Easy, peasy.