That is a case of negative training!!!
The procedure is very specific. Passing S speed is not a command for retraction in a windshear. Exceeding VFE, that is a different story.
The procedure says, DO NOT CHANGE CONFIGURATION (SLATS/FLAPS, GEAR) UNTIL OUT OF SHEAR
Were you out of shear? Oh, and also you don't have to retract flaps/slats when passing S speed in case of turbulence, you can delay that 20 kt or VFE -5 kt, If I recall correctly. That situation was, at least, turbulence.
and at the end: RECOVER SMOOTHLY TO NORMAL CLIMB OUT OF SHEAR
Stick to the memory items until out of shear. Speed increasing very fast towards VFE, with imminent penetration in overspeed, then you can continue with the "normal" climb: THR CLB, retract slats/flaps (and don't forget L/G if that is the case!).
Some say retarding thrust is the last, but it is not written anywhere. The primary thing here (after avoiding crashing into terrain) is not to exceed a limitation.