Captain Brett Crozier was relieved of command of the USS Theodore Roosevelt after sending emails over non-secure networks to numerous parties, one of whom leaked it to the press.
Captain Crozier will not be punished, either administratively or judicially, but this removal effectively ends his career and he will likely retire very shortly.
The removal was done by the Acting Secretary of the Navy Modly.
I agree with this removal. Captain Crozier should have sent his concerns via a secure network to his immediate superior in the chain of command. Blathering out such information in a non secure manner violates both good security protocol and the chain of command.
Hopefully other ship commanders will learn from his example and keep their pie holes shut, other than to their immediate superior.