If her behavior makes you uncomfortable, then certainly get off. However, don't get off and just continue home. Bring a longe line with you and longe the snot out of her if she starts wanting to bolt home. Then get back on and ask her to walk towards home. She gets hurried again and won't walk nicely? Get off and longe her more. Repeat until she decides that walking is a heck of a lot easier than longing. [And this may take a while if the horse is now used to ignoring you and doing her own thing.]
Then when you finally GET home, don't untack her and put her out/away. Put her to work. Do transitions between gaits, circles, serpentines, whatever gets her feet moving and brain working. Home does not = done work.
There is no joy equal to that found on the back of a horse.