Would wonder about social anxiety and also undiagnosed ND too...
That sense of rigidity about how the visit should go, not seeing your feelings and preferences as "valid"....
If you've only socialised with her in a more constrained form, maybe think about whether or not you can emotionally and practically commit to longer visits? A few days visit is a big thing.
If you'd enjoyed it fair enough but if you were relieved to go home and worrying about money, it's hardly a break.
When younger, I had a close friendship with someone who was similar, but had to detach.
She was a sweet person in many ways, and we had some nice experiences together.
However, any activities that weren't exactly how she liked them (not even the activity choice, but down to me doing something not the way she liked) ended up being shut down.
(Strongly suspect ND but there wasn't really anything I could do.
I can be quite rigid myself, but if I want to do exactly my own thing I can't necessarily force or expect people to want to go along with it)
The "but you came to visit me" line to stop you going out is exactly the sort of thing she'd say. There was no room for flexibility or my feelings.
There was always a set idea of what I was going to be doing. If I strayed from her script then I was "wrong".
So every chunk of time together was me compromising all the time and coddling her emotionally (but getting exasperated) and her thinking we were happy friends together.
It was hard as I was a bit naive and often ended up spending loads of extra time and money to work around her needs.
Unfortunately that's only something people realistically want to do for their partners and children and immediate family, not a friend.
It's a shame your friend is lonely but you really don't want to end up being her only support person if this is just how she is naturally.
My ex-friend has achieved a good standard of life and lives in a beautiful place
but clearly still is similar judging by her social media - not compromising, she wants to do something her own way, everyone else is wrong. So people don't want to get too close.
Ok for smaller social interactions where you can walk away, but tough for more complicated ones!