In this 2012 video, Canadian astronaut Chris Hadfield demonstrates what happens when you shake a can of Coke and open it on the ocean floor. It’s not what you think would happen.
From Reddit reader SoulWager: When you normally open a can of soda, the CO2 dissolved in it starts to come out of solution because of a drop in pressure. This happens at the boundary between the soda and air, and at any nucleation points. Shaking up the soda vastly increases the number of nucleation points available for the CO2 to come out of solution, but if the pressure outside the can matches or exceeds the pressure inside the can before you open it, the nucleation points won’t matter, because the CO2 in those bubbles is getting pushed back into solution as fast as it’s coming out of solution.