Awe I Am so sorry about what happened to your Miles.
This happened to Kodi when he was a Pup.. He got better but he has be Really afraid to be groomed ever since. He is 6 now

It does sound like you should take Miles to the Vet. (At the Groomers expense)
Welcome to YT