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