The skipper of the amphibious transport dock ship Somerset was relieved of command last week after less than six months on the job, Navy officials confirmed Tuesday.

Capt. William Sherrod was fired on April 12 “due to a loss of confidence in his ability to effectively lead and carry out assigned duties,” Naval Surface Force Pacific spokesman Lt. Andrew DeGarmo said in an email.

He was relieved after an investigation into “command climate concerns,” and the firing was not due to one specific event, DeGarmo said.

Sherrod took command of the San Diego-based ship in November.

Before that, he had been the ship’s executive officer since June 2016.

Sherrod has been temporarily reassigned to Naval Air Forces, DeGarmo said.

Expeditionary Strike Group 3 chief of staff Capt. Brian Quin has assumed temporary command of the ship until a permanent replacement is found.