LOL, they are funny, maybe he does not want to go home yet, if it happens on the way back ???
Bazza loves his treats so if we have issue's like that we would use treat based training ( and encourgement) for awhile, until corrected.
Example: Bazza use to sit and would not move when we walked up the driveway, he did want to go back in the yard, so with alot of happy talk, encouragement and a couple of treats all the way to the gate, when we get in the gate rest of the treat, then he realised going in the gate was fun, then we would only do it when we got in the gate, now we don't have to do it really at all.