restore q command