Do you take the same route every time? If you mix it up she’ll be less likely to know when she’s headed home.
Instead of stopping her I would make her keep going and make her do circles or patterns and changes of direction (if there’s room). This will make her have to focus on what she’s doing and not on “we’re going home we’re going home we’re going home.” If the area isn’t large enough to circle you can do other exercises like leg yielding, shoulder in, shoulder out, etc. – really just anything to make her think.
www.createdbyleslie.com - handmade custom wood-burned brushes, stall signs, & portraits, etched glasses, and custom stuffed ponies