Not having a tantrum necessarily, but just tired / obstinate and refusing to get up. I waited & cajoled before reluctantly putting him under my arm like a sack of potatoes with 3 bags of shoppping in the other arm & marching home. Wasn't far but did not have buggy. I wasn't best pleased as i'm pg and having trouble lifting...
I used to pick him up (with great difficulty) and strap him forcibly into his buggy, no matter what sort of awful scene it made.
Then he stopped using a buggy (dammit! ), so I would pick him up under my arm and carry him off, telling him very firmly that he was being very silly and praying that he would snap out of it and want to walk by himself within a few seconds (usually worked...)
Now he is too big to pick up and carry easily (plus I', hevaily pregnant). the tantrums are few and far between, but horrific when they do occur. I just walk away and leave him. i say 'I'm going now. Bye'. Works beautifully. He gets up and runs after me straight away, and will continue to whinge, but stops the ridiculous tantrumming.
I would first of all try to distract by 'lets see who can hop the furthest/ jump the highest/ have a race home' etc etc. Then with ds on the numerous times he did this I would then say I will count to five. If I get to 5 and you are not walking I will make you get up because we need to get home. Usually he would get up by 4 but if not then on 5 I would pick him up like a sack of spuds.
Was once stuck out for 90mins until DH came to get me (I had DD2 in sling and bike in tow). Roads too busy to walk away, stupid stubborn self wouldn't let me bribe her. Never left without a buggy or sling again.
We were late for nursery hence shops - nursery - home (only 200yds away...still).
Dog coming doesn't work (in our case it's an enticement, not a threat). "Bye" and walk off (if not near road) doesn't work. Buggy threat doesn't work. Do not have time / patience for eternal waiting though suspect it might work eventually. Baguette carry only in extremis. Think only option is to be surgically attached to the buggy!