We identify a transient enhancement of the depolarizing field, leading to an unexpected quench of net polarization, during the growth of a prototypical metal-ferroelectric-metal epitaxial system made of BaTiO_{3} and SrRuO_{3}. Reduced conductivity and, hence, charge screening efficiency in the early growth stage of the SrRuO_{3} top electrode promotes a breakdown of ferroelectric BaTiO_{3} into domains. We demonstrate how a thermal annealing procedure can recover the single-domain state. By tracking the polarization state in situ, using optical second harmonic generation, we bring new understanding to interface-related electrostatic effects in ferroelectric capacitors.