Technically of course The Black Death was not a pandemic, it was an epidemic. It's just people didn't really move around very much so they didn't notice.
It kept returning to Europe multiple times because the focal point of the disease would move somewhere else for a bit and then come back.