The next time Stockham appears in the historical record is after the Peace of Amiens, where he was first lieutenant of HMS "Thunderer". "Thunderer" had participated in the Battle of Cape Finisterre in July 1805 under her captain, William Lechmere, and Lechmere had then become embroiled in the controversy surrounding Sir Robert Calder's conduct in the action. When Calder insisted on a court martial, he requested Lechmere, along with William Brown of and Philip Durham of to come back to London and testify in his defence. Durham refused but Brown and Lechmere did not, leaving their first lieutenants in charge of their ships.