Echolocation is used by shrews to determine areas that are safe from predators such as owls (Merten et al 2009). It is also used in communication (Merten et al 2009), prey location and movement in dimly lit areas (Thomas 2004).
Kindly see the publication below with great ideas on your question. It is argued that echolocation is critical in helping the shrews to avoid predators and general detection of obstacles.
Article Evidence for echolocation in the common shrew, Sorex araneus