Explaining the issue, Magnussen said: "We had a problem with the gearbox, and we had that yesterday as well on my fastest lap in qualifying.
"But that problem came back in the race and was there from the first lap. From the race start, I was having slow upshifts. Not only are they slow, it's also like a big bang every time you upshift.
"It seems okay for a couple of laps but then it starts shaking your head crazily and by the end, I'd just got a massive headache.
"I told the team and they were like 'We have nothing to fight for', so they boxed me."
It was an unfortunate end to a race that had also started badly for Magnussen when he was tagged by Ferrari's Sebastian Vettel midway through the first lap that spun him around and sent him to the back of the field.
"I got spun around at the start, and that was the end of it almost," added Magnussen. "I lost so much time getting back on track.
"The pace was really good. We had much better pace than expected, even with those upshifts that were costing half a second per lap. We were much quicker than we expected. [But] Frustrating again."
GPFans is a multi-platform, multi-language brand dedicated to Formula One coverage. We bring you all the ins and outs of the sport, 24/7, everything from up-to-the-minute news and features to the latest viral stories and clips.
We believe that a new generation of exciting, outspoken drivers will make F1 more popular than ever before, and we want to give our users access to as much of their heroes as possible, on and off the track. From Lewis Hamilton to Max Verstappen, Daniel Ricciardo to Sebastian Vettel, we provide in-depth analysis of every every Grand Prix in the season, from Australia to Abu Dhabi.
With Formula One under the new ownership of Liberty Media, how the sport is being covered is evolving, and GPFans will look to be at the heart of this progression into new media, as one of the fastest-growing sites covering the king of motorsports.