At the end of Avengers: Endgame The Avengers are scrambling to get the Gauntlet to the Scott's van and into the Quantum Tunnel. The goal seems to simply be getting the item to the Quantum Tunnel because we see Captain Marvel throw it towards the Quantum Tunnel, which Thanos stops by throwing his own sword, deflecting it at the last moment.
This seems very strange, because of course the goal was to properly return everything right back to where they came from. In the end of course that is what they do. However, throwing the item into the Quantum Tunnel seems completely pointless: it certainly wouldn't return anything to anywhere. Worst case scenario you end up losing the thing in the Quantum Realm, making it impossible to return things as promised. Perhaps they wanted to throw it in the Quantum Realm to prevent Thanos from getting it, but my own impression at the time was that the scramble for the van and the Quantum Tunnel was about returning things, not just temporarily hiding things from Thanos.
Am I missing something or is this just a plothole?