Capt. Manuel Reyes’ resignation came shortly before an outside investigation concluded he violated sexual harassment polices and other rules.