Direct answer
You stay overnight in Cancún or Puerto Juárez and take the first ferry the next morning — there is no late-night backup ferry. Build 60+ minutes of buffer before the published last departure.
You typically stay overnight in Cancún (or near the ferry) and cross the next day — another reason not to cut ferry timing too tight.
