Avengers Endgame: In the first scene, Thanos was wielding Stormbreaker and when Captain hits Thanos with Thor's hammer in the next part of it Thanos was wielding his sword instead of Stormbreaker. :
Details in All the Different Versions of 'Avengers: Endgame' Posters
Fact-Check the Physics of Captain America Hammering Thanos | WIRED
Avengers: Endgame Easter Eggs You Missed
Captain America Lifts Thor's Hammer Mjolnir Scene - AVENGERS 4: Endgame (2019) - YouTube