Sort of a bug. They should stay put when you dismount them (in the wild). I think your llama ran off for now :(
I'll put it in my bug fix list. Thanks for finding it!