Reassigned Maine Coast Guard officer in command when cutter ran aground