dirt particles don't pause when I jump

I made a particle system to make it look like my player is running and it’s working fine but when I jump the particles don’t disappear, here’s what i’ve tried

public void Update()
    {
        if(Input.GetButtonDown("Jump") && isOnGround == true)
        {
            if(isTouchingBench || isTouchingFireHydrant || isTouchingBarrel) return;
            jump = true;
            jumpSound.Play();
            animator.SetBool("isJumping", true);
            DirtParticle.Stop();
        }
       
    }

    public void OnLanding()
    {
        animator.SetBool("isJumping", false);
        DirtParticle.Play();
    }

Stop() is misleading, you need to use it and Clear() for what you want:

void stopParticles()
    {
        //myPS.GetComponent<Renderer>().enabled = false; // how you access the Renderer module, if needed
        myPS.Stop(); // stops new particle generation...does NOT stop any particles already created
        myPS.Clear(); // clears all generated particles and resets to beginning
    }
    void startParticles()
    {
        myPS.Play(); // because we used Clear(), this starts at beginning
    }