It is theoretically shown that, under conditions of two-photon absorption of radiation by metal vapors, the medium becomes considerably polarized and efficiently doubles the radiation frequency. Two physical mechanisms by which these effects can occur are detected. The first of them results from the ring frequency mixing, while the second one is caused by a polarization nonlinearity that is quadratic in the field amplitude and that is formed as a result of the electric quadrupole absorption due to the forbidden transition. The effects predicted can form the basis for new optical methods for measuring the electric quadrupole and magnetic dipole moments for forbidden atomic transitions.