Putting a loudspeaker driver in a closed box raises its resonance frequency. This new resonance frequency is the system resonance, and the bass cut-off occurs at this same frequency.
In summary, if the box is too large, you get a weak bass and a reduced power handling. If it's too small, you get a boomy bass and a reduced bass range. The optimum box size fits in between and is calculated from the driver's T/S parameters.