Another way understanding it is to see what the switch actually does. When I was younger, I could only afford old tube based 5MHz bandwidth oscilloscopes, which were pretty horrible but how they worked was obvious just by looking. The AC coupling switch simply put a 0.1uF capacitor in series with your probe lead. That way all DC was blocked to the vertical amplifier.