That is true, but it may have been hard for him to have clung on. Hungary is part of the EU and there could have been dire repercussions if he tried to do a Maduro.
What did happen was severe gerrymandering, suppression of critical press and universities, spreading of conspiracy theories and eye watering corruption. At least he left when he did lose in a system that favoured him, but that is the bare minimum to be expected in a democracy.