The captain of an aircraft carrier hit by the coronavirus was relieved of his command by the Navy on Thursday