The Indian Ocean islanders saw their dream run finally halted by Thursday's 3-0 loss to Tunisia, a country ranked 83 places above them in the world.
"I'm very proud of what the players have done since the start of the tournament. I tip my hat to them," said Dupuis, whose contract was set expire at the end of the competition in Egypt.
"Today the step was too high. As for my future, it doesn't matter much. I'm someone loyal and my priority is Madagascar."
Dupuis took over as coach of Madagascar in 2017 and has transformed a nation once ranked as low as 190th, and which had to come through a preliminary round just to take part in qualifying for this tournament, into the surprise package at this year's finals.
"I don't know if Madagascar's priority is to keep me," continued Dupuis. It's going to be difficult to do better next time. There's a lot of work to be done in Madagascar. We have to use what we did to show that work pays off.
"We need to keep working otherwise it could just be a fleeting thing. We need to get back to work."
"I have no regrets," he added. "We were up against a very good side."