I’m betting you clicked on the alternate landing gear handle when attempting to close the canopy. Side effect of alternate landing gear extension is to deactivate the NWS.