(Clearly none of you have passed your starfleet pool safety training course, so you will not be allowed in the pool and therefore will not die)
Although the death and mayhem described by others provides a better story here is what will happen.
(Starfleet of course will have rules, regulations, and advanced safety gear.)
(Protocol demands at least triple (3 levels) redundancy for every system.)
Emergency teleports will activate and beam the people to safety.
If you have a ship that advanced the safety computers are going to be hay we are going to loose gravity, start draining the pools NOW! They will need pumps to suck it out, but drains all sides of the pool meaning whatever direction the water goes in those drains will open.
The pools will have independent gravity field generates for this very emergency. In the Star Trek world you be trained and it would be in your safety procedures guide padd(manual).
There will be redundant sensors all over the pool to detect a massive increase in pressure on any side of the pool. Once detected, drains will open up and allow all the water to be evacuated. The drains, of course, will have safety measures like grates and etc to prevent people from being sucked in.
In the end a bunch of people, who were once swimming will be on the bottom or against a side of the pool wondering what happened. Sure accidents are possible, and some will get injured. Every once and a while someone will die. Most likely the medical staff will be able to evacuate the water from the people lungs and CPR them.
Addenum: We will probably have rebreathers that can suck the oxygen from the water and/or people will have to carry small tanks of oxygen to provide enough air to survive a full evacuation of water plus a safety margin.
There will be safety drills just like we have fire,tornado, or etc. Which will prepare people for this very type of thing. You will have to pass ## (whatever is approved by regulation of starfleet command) of drills with trained life guards before you can go in alone.
4He's going to die (Also possibly duplicate) – Separatrix – 2017-08-01T07:36:46.480
1Stopping "spinning gravity" will give radically different effects than just turning off switch. Which one do you really want? – Mołot – 2017-08-01T07:37:09.627
@Mołot Immediate option is more interesting as man will have to operate in zero-g conditions and not just walk out of the pool while there is still some gravity. – Denis Kulagin – 2017-08-01T07:43:39.803
1You should note that if you don't have a "swimming nose clip", you will at first have some water in your nose. At this point you either panic and waterboard yourself. Or breathout some air by the nose and use a hand to clip it. Now you theories about your surviving. – Drag and Drop – 2017-08-01T12:40:02.007
@DragandDrop Huh? I can swim underwater, rightside up and and upside down without water going up my nose. Either I'm automatically exhaling really slowly, or water doesn't want to go up my nose no matter which way gravity faces; in either case, why would zero gravity change this? – Yakk – 2017-08-01T15:27:05.170
@Yakk, Yes we can swin like this. But exhaling will limited by the amount of air in the lung. The point is People usualy panic when drawning. And panic when water get into their noise. I have seen people failing to get to the surface in a 7Meter deep water because they add water in their mask. You can try but if you had to stay a long time upside down in water you will want to clip your noise to save to air. You now have 2 legs and one arm left to get out. – Drag and Drop – 2017-08-02T10:18:13.453