The Spaniard switched bikes in the dying moments of qualifying for the Grand Prix of Americas after being forced to park his Repsol Honda against the pit wall with just minutes remaining in the session.
Not to be deterred, Marquez just managed to get over the start/finish line in time to register one more flying lap, and what a lap it was, with the reigning world champion shooting to the top of the time sheets with a 2:02.135, a new lap record.
“I'm happy, because after having a problem we were able to come back and set the fastest time," said Marquez.
"It was rather different to what we are used to, because when I crossed the line for the first time with the second tyre I saw a warning light on the bike. When that happens, we are normally advised to shut off the engine.
"I was able to get out again on the second bike and cross the line right at the cut-off point to put in a final lap, which worked out well for us."
The 22-year-old believes that his pole position, the 23rd of his career, was crucial ahead of a testing race.
"It's important, because tomorrow we are expecting an eventful race with the unstable weather conditions," he said.
"If the race is dry, then I'm ready. If it's wet, then we will have to see how things go in the moment!”