An NYPD detective was shot in the left shoulder during a barricade situation in Manhattan Tuesday morning, officials said.