The Aporkalypse is supposed to end after 20 days after it's been disabled manually once. However if does 20 days run out, all the effects of the Aporkalypse will still be present. The regular day cycle and season cycle return, however every night will be a full moon and herald still spawns often. The player can end this pseudo-Aporkalypse by going to the calendar and ending it like it was a normal Aporkalypse. Also just by the way, Heralds music still doesn't correctly play when fighting him.
In a Hamlet world, c_skipdays(61) to start the Aporkalypse, disable the Aporkalypse be either spawning a calendar ("c_spawn("aporkalypse_clock") or going to normal ruins that contain it, enable Aporkalypse again (side note: bat shadows might interact with the pressure plates so it is better to kill them before messing with the calendar), c_skipdays(21) to "let the Aprokalypse run out), the world enters the pseudo-Apork state,