Similar fix for quitting PAT

[#58559356]