The Punjab and Haryana high court has quashed preventive detention order of the state government of a Karnal man, accused in ganja seizure cases but detained for possessing heroin.