If it's basically the same as bloat, where the stomach can get twisted either at one or both ends, it's scary but treatable if caught in time. Not only people suffer this, but horses and dogs too. I did lose a dog to it, but luckily my horse was not quite there. My other dog I caught it in time, the vet was sceptical about doing anything, but I insisted. If NOTHING is done of course the dog won't survive. He did operate, dog was fine afterwards. Lived a normal life span. It might be easier to detect with dogs, tho.
Keep calm. That's all I can say. If the doctors are on it, then it sounds like this will resolve itself one way or another. Positively. It may require the surgery just to 'untwist' it. And things can move through in the natural way.
Try not to worry, okay. It isn't fun to go through, by any means, but you're all on top of it!
Good luck!