Tried it on my shelf.  Appears that it will stay securely in place.  I am using it in my linen closet for rolled towels to keep stack from falling when my children's pull out their favorite towel.  LOL