The force due to the transverse magnetic field of a laser beam drives an electron in the direction of laser propagation, thereby impeding the recollision mechanism for high-order harmonic generation. The longitudinal electric field component of a tightly focused Gaussian beam can sufficiently counteract the magnetic force to enhance the harmonic yield substantially. For tight focusing and a laser intensity of 10(18) W/cm2, it can raise the harmonic yield by several orders of magnitude.