So when Thanos and his minions were dusted - in effect, removed from the timeline - he was deposited back into 2014 alongside a version of Gamora and a resurrected Nebula with no knowledge of his time spent in 2023. The space stone and Loki are put back at the exact moment they disappeared, as are the scepter, Mjolnir, Jane's Aether juice, the Eye of Agamatto, the Power stone and the Soul stone (AWKWARD!). Steve, having been given a stern warning from a TVA agent, lives a quiet life in the shadows. He lives a good life, but without all the punching.