 However, Aylwin succumbed to injuries received during the "Constitution"'s single-ship action against HMS "Java" on 29 December 1812.Once released by exchange of prisoners and returned to Halifax, Captain Dacres was tried by court martial, as was customary in the case of a Royal Navy ship lost from any cause.He put forward in his defence the material state of "Guerriere".