It also changed the focus to foreign policy rather than the domestic issues favored by his opponents.
"Of course, I will not be able to campaign as I would have liked because of the context," Macron wrote, vowing to "explain our project with clarity and commitment."
Macron sought a mandate to steer the eurozone's second-largest economy through the fallout of Russia's invasion and the COVID-19 pandemic.
"I am a candidate to defend our values that are threatened by the disruptions of the world," he added.
Macron on Ukraine: 'This war will last'
Macron also faced critics on the left
Macron became France's youngest-ever president in 2017.
He changed the economy to boost job creation and cut taxes on businesses. He also called repeatedly to make the European Union stronger in foreign policy terms.
However, critics said his policies threatened the French welfare state.
The anti-government yellow vest protest movement started with demonstrations against a planned fuel tax hike and quickly spread into a broader campaign against economic injustice. For months, weekly protests across the country often degenerated into scattered violence.
Macron admitted on Thursday, "We have not achieved everything," adding that he would do some things differently,
His popularity in recent months has remained relatively stable, with an approval rating hovering around 40%