That's a pity.
According to a second-hand layman's account, some expletives are stored in a different part of the brain and can be uttered without difficulty while general speech is either impaired or gone.
I wish the best recovery possible.