Answer
The frequency increases, and the pitch rises.
Work Step by Step
For waves, the wave speed equals the frequency multiplied by wavelength. Holding the string against a fret decreases the wavelength, and so this increases the frequency/pitch.