1. to divert (e.g. one's mind); to distract; to relieve (boredom, sorrow, etc.); to drown (one's sorrows); to beguile (the time)
寂しさはペットを飼うことで紛らわしていた。I eased my loneliness by keeping a pet.
2. to conceal (e.g. one's grief with a smile); to hide; to shift (the conversation); to change (the subject)
本当は震えていたが、それを冗談で紛らわした。I was actually trembling, but I covered it up with a joke.