Australia’s government warned a student not to return to North Korea on Friday, a day after he was released from detention by Pyongyang under mysterious circumstances.