I am new to the forum and wanted to share my story, as I feel that experience is the best teacher.
I was doing a wreck dive in Cancun last week when I experienced this. It was a wreck dive with a depth of around 80ft. The group consisted of myself, 3 other divers and the DM. We descended to the wreck and everything was going fine. As we descended, a school of beautiful eagle rays were drifting by the wreck site. We reached the bottom and started to swim towards the wreck. The current was rough, and made swimming difficult. As we went around the wreck, I spotted to eagle rays near me and swam up to get a closer look and some footage. The current picked up, and I had to swim hard to keep up with them. After getting a good look, I slowed up......and that's when it hit me. I started breathing heavily and couldn't catch my breather. I suddenly felt like I was breathing through a straw. I looked up and saw how far the surface was and I started to panic. I was breathing hard but felt like I could not get enough air. I tried to slow myself and focus on my breathing, but continued to breath hard. I stopped swimming and grabbed the side of the wreck. I closed my eyes and focused on my breathing, and it started to subside. I found the anchor line, and held steady until I was semi under control of my breathing. My group noticed I was gone, so I kept an eye on them until they looked up and gave them the sign that I was going to surface. I slid up the line slowly, taking my safety stop and finally surfacing.
I wanted to share this story so that everyone can learn from it. I can assume I experienced overexertion and started to hyperventilate. I did not think how hard I was swimming to see the marine life, and I almost paid a heavy price for it. But takeways from this experience were to stay calm and try to control your breathing when something like this happens. Literally one of the scariest experiences of my life.