Can you tell me an example of a time when medicine was shipped elsewhere to another country in order to stop an epidemic or disease?

Yes. The Canadian Health Minister indicated that Canada will donate between 800 to 1,000 of their 1,500 doses of an experimental Ebola Vaccine - VSV-EBOV to help with the Ebola-Zaire outbreak in West Africa.