Thank you to everyone for the kind (and not so kind) replies; I opted to post this as a lesson learned in the hope someone would find it useful. To answer some of the questions raised:
We were about halfway back to the mooring line and I had just looked at my gauges before I started coughing, and I had 1250-1300# of air at that point.
I'm a big guy and I use a lot of air; I was on 30% Nitrox with a 100cf tank, and our hard limit was 121 ft. ; as I remember we didn't exceed 105 ft.
I completed the PADI Deep Diver speciality as part of my AOW, and feel comfortable at depth.
My reg is only 6 months old, so no issues with equipment.
I feel that this was definitely my fault, as I think I inhaled seawater from my mask; not being willing to completely shave my mustache, I have become very experienced and comfortable at clearing my mask, and I can't see any other reason or cause for this - it was my mistake, plain and simple.
As I said, I posted this as a lesson learned, for myself and for others, with the key point being "it can happen to you", not to be called an idiot by people that don't know me and weren't there.
Jack, Elena and I discussed an OOA situation before we dove; never expecting that it would be me needing to share air, it was definitely an eye opener. For those that only listen half-heartedly to the pre-dive briefings, let this be a reason to pay more attention!
KevinL