i just repalce the air pump. when i turn off the engine the pump is still runnin on 2001 Pontiac Grand Prix

the pump was bunrt out and was throwing a code so i replace the air pump

Asked by for the 2001 Pontiac Grand Prix
I could be wrong but I do not think you have an air pump on this engine. What exactly did you replace? Be specific.
its call a secondary air pump it located on the left front fender