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.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.