@KristenKAfter about 40 dives I had an uncontrolled ascent. It was this past July in Roatan. I had an air bubble in my bcd that I couldn't get out and didn't know how to deal with. Like @DandyDon said, my biggest fear was getting hit by a boat, because I didn't have an smb. And....it was very embarrassing.
Turns out it was a blessing in disguise. I found SB. Got good advice, and started reading like crazy. All of a sudden my unconscious incompetence was illuminated. I reread all of my OW manual. I'm going to our lds to practice basic skills. I'm headed to Bali in a few weeks and will get my AOW with Geko. I love diving and want to get really good at it.
As others have mentioned, one of the most important lessons I learned was that I am responsible for my own safety. The DM didn't even know I surfaced until the safety stop, about 10 minutes later. What a huge lesson that some DMs are really underwater tour guides. I requested a different DM for our remaining dives and a lower number of divers in the group....both my newly certified kids were with us. Hubby and I had serious conversations with the kids about what a dive buddy is really all about and had agreements on subsequent dives about how close to be together, what to do if we lost our buddy, etc.
Keep learning, keep asking questions, and keep diving...safely! Best wishes to you.
I had to go back and re-read the first mention of an "air bubble" in the BCD, since that still seems to be a hot topic. Any chance you were exclusively using the inflator's manual button to release air, but not getting your shoulder and hose high enough to release the volume? If so, you might just need to understand and practice the other available dump valves on the BCD. (rental, or owned?)
Most but not all will have a right shoulder pull valve, operated by pulling a "dongle" on a short cord.
And almost all will dump the left shoulder if you just firmly pull the inflator assembly at the end of the corrugated hose. This pulls a cable inside that hose, opening the shoulder valve. Don't worry about pulling apart the soft rubber hose.
That allows you to release air even if your inflator is not held high and straight. Inflate a BCD for practice and try it out.