Most parents want to 'shelter' their children 'from' pain and sadness. [=to prevent their children from experiencing pain and sadness]
They 'found/took shelter' in a cave during the storm. [=they went into a cave to get out of the storm]
They were accused of 'sheltering' a criminal. [=giving a criminal a place to hide]
(..) Ah, Muller... Boiled schnapps. This is what i learned. There is no place to take a seat. Come with me. I have a small, cozy place. This is your shelter? This is only the purgatory. A bit smelly. What about the paradise? Immediately. It's small and romantic, except the smell which is everywhere. (..)1965 Forest of the Hanged