The P.E. of a particle executing SHM at a distance x from its equilibrium position is
12mω2x2
12mω2a2
12mω2(a2−x2)
Zero
PE=12kx2=12mω2x2