Jan Kubis, the United Nations ambassador to Libya, abruptly resigned less than a year after assuming office.