The NYPD's Chief of Department, Jeffrey Maddrey, has resigned amid allegations of sexual misconduct.