during abram's studies, conflict broke out between france and spain, and he fought for france in the war of the quadruple alliance, rising to the rank of captain. while fighting in the french war against spain, abram received a head injury and was captured by the spanish army. he was released in 1722 and continued his studies in metz.