What happens during de Quervain's surgery procedure?

Release of a sheath. You are releasing the first dorsal extensor compartment which holds the extensor pollicis brevis and abductor pollisis longus tendons.