The disease was likely spread from mosquitoes to mice to men, but at that time where it came from and how it was spread was unknown. It's no wonder the people thought the wrath of God was raining down on them. This period of time is also known as the Dark Ages, and it must have been a horrifying time to be alive.
St. Colman, an Irish abbot living in the 7th century, fled to an island with his followers where they believed the plague could not reach them, beyond the ninth wave of the sea. He composed a poem. Here is a portion of it from my book, Celtic Wisdom, Treasures From Ireland:
The blessing of God come upon us. May the son of Mary cover us. May he protect us this night, wherever we go through out great numbers. Whether at rest or at motion, at sitting or standing, the King of Heaven be against every assault. This is the supplication that we offer up.Modern medicine has done much good. We no longer fear many of the illnesses that destroyed large populations of the ancient world. But there are still some we haven't defeated. In those cases, St. Colman's prayer is still relevant.
County Cork. St. Colman may have sailed from here to avoid the plague.
photo via creative commons by