Hydrogen in porous Vycor glass (pore radius ${\mathit{R}}_{\mathit{p}}$=3.0 nm) has been investigated with a torsional oscillator technique at 7.5 K \ensuremath{\le}T\ensuremath{\le} 22 K. ${\mathrm{H}}_{2}$ molecules which are adsorbed in Vycor at T\ensuremath{\gtrsim}${\mathit{T}}_{3}$ (${\mathit{T}}_{3}$, triple point of bulk ${\mathrm{H}}_{2}$) leave the Vycor when decreasing the temperature to below a characteristic value ${\mathit{T}}_{\mathit{c}}$\ensuremath{\le}${\mathit{T}}_{3}$; ${\mathit{T}}_{\mathit{c}}$ depends on the amount of ${\mathrm{H}}_{2}$ in the Vycor. This interpretation of the data is supported by simultaneous measurements of the ${\mathrm{H}}_{2}$ vapor pressure. A similar phenomenon is observed with a capacitor filled with Vycor into which ${\mathrm{H}}_{2}$ is condensed. We conclude that the free energy of solid ${\mathrm{H}}_{2}$ in the Vycor is larger than that of bulk solid ${\mathrm{H}}_{2}$. Information on the free energy of ${\mathrm{H}}_{2}$ confined in the Vycor is important to understand the depression of its freezing temperature in restricted geometries. We also discuss the properties of solids and the depression of their freezing temperature in restricted geometries. \textcopyright{} 1996 The American Physical Society.