What is the best way to: How to keep a wooden toy from falling over when on a stand or shelf?

OPT: (I) Place a small amount of putty under the base of the toy and press it firmly onto the shelf. (II) Place a small amount of putty on the top of the toy and press it firmly onto the shelf.
Answer:
(I)