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. :
Avengers Endgame Final Battle all new Easter Eggs Explained Thanos worthy of Thor Hammer - YouTube
Thor's Upcoming Death at Thanos' Hands Finally Makes Sense