How to Train a Dog Not to Run Away