North Korea accused Mexico of illegally holding one of its cargo ships Wednesday and demanded the release of the vessel and crew.