The on-surface Ullmann-type chemical reaction synthesizes polymers by linking carbons of adjacent molecules on solid surfaces. Although an organometallic compound is recently identified as the reaction intermediate, little is known about the detailed structure of the bonded organometallic species and its influence on the molecule and the reaction. Herein atomic force microscopy at low temperature is used to study the reaction with 3,9-diiododinaphtho[2,3-b:2',3'-d]thiophene (I-DNT-VW), which is polymerized on Ag(111) in vacuum. Thermally sublimated I-DNT-VW picks up a Ag surface atom, forming a CAg bond at one end after removing an iodine. The CAg bond is usually short-lived, and a CAgC organometallic bond immediately forms with an adjacent molecule. The existence of the bonded Ag atoms strongly affects the bending angle and adsorption height of the molecular unit. Density functional theory calculations reveal the bending mechanism, which reveals that charge from the terminus of the molecule is transferred via the Ag atom into the organometallic bond and strengths the local adsorption to the substrate. Such deformations vanish when the Ag atoms are removed by annealing and CC bonds are established.