If you assume that with the switch at position 1 the circuit was in a steady state then the voltage across the capacitor will be 2V. At the instant the switch moves to position 2 the capacitor will act a short circuit and the inductor as an open circuit. However, the voltage across the capacitor is 2V and it will subtract from the 12V battery voltage due to its polarity.