Rabies spreads only if the saliva of a rabid animal directly comes in contact with broken skin, wounds, or mucous membranes like eyes, mouth, nose. In your case, there is no definite proof that the shrew’s saliva actually splashed into your eyes, and even shrews are not common carriers of rabies. The risk is extremely low.
Next Steps
Immediately wash your eyes gently with plenty of clean running water.
Monitor for any redness, irritation, or discharge in the eyes.
No need for rabies vaccination in this situation unless there is a definite exposure to saliva or bite or scratch from a rabid animal.
Health Tips
If you develop persistent redness, pain, or swelling in the eyes, see an ophthalmologist. Otherwise, you don’t need to worry too much.