They came up with a haphazard plan to distract him, then hold him down, giving them a brief window to pull the Infinity Gauntlet off of his arm. Amazingly, the strategy worked, but then Peter Quill blew it when Gamora’s sister Nebula revealed Gamora had gone off with Thanos and had not returned.
Star-Lord couldn’t handle his emotions in front of Thanos, leading Thanos to use the opportunity to take back the Infinity War gauntlet and pursue his goal of destroying half of the life in the universe.
The moment in question featured some of the Guardians and the Avengers, plus Doctor Strange, who had traveled to Titan to face Thanos.
A lot of Marvel fans have not been happy with Quill in the time since.