I am so sorry to read this.
I do wonder if she is associating sudden sharp pain with the location in which it occurs.
Monty was like that when he had the bouts that caused him to scream and writhe with neuropathic pain.
He retreated from each room until he was in our bathroom, and had nowhere else to go. He would not come out and had to be carried to the garden ( where he had experienced an attack )
I'm sorry to say this but I do think you need to go back and get her pain medication increased.
I really feel for what you are going through, I have tears in my eyes remembering how it was with Monty.
My very best wishes,
Cavaliers......Faith, The Ginger Tank and Woody.
Japanese Chins.... Dandy, Benny, Bridgette and Hana.
Remembered with love......... Tommy Tuppence and Fonzi