It’s very reminiscent of the Paris commune, where Parisian pre-marxist socialists were killed almost to the last by the french army after they’d built a short-lived commune. It was basically the end of the Proudhonist idea of socialism (no gods, no masters), which provided space for Marxism to take over in France and particularly in Paris.
Macron is the President, not the PM, so he doesn’t have to leave. Moreover, he’s the only one who can appoint a new PM, so all the NFP can do is put forward a candidate and hope His Majesty Macron deems him/her to be worthy. The whole situation is essentially a soft coup by Macron and his party, there’s no way around it