James Stanhope took control of the British campaign in Spain; Carpenter participated in the victory at Almenara in 1710 but a few months later was captured along with Stanhope and Charles Wills at Brihuega. He was exchanged a few months later but did not see active service again before the war ended with the Treaty of Utrecht in 1714. At Brihuega, he was hit in the mouth by a musket ball which knocked out his teeth and remained lodged in his throat for nearly a year before being removed.