Police captain retires following arrest