Aphemia

Webster's Dictionary of the English Language

·noun Loss of the power of speaking, while retaining the power of writing;

— a disorder of cerebral origin.