Have Medical Questions? Ask a Doctor Online!
I don't think it was due to pneumoperitoneum. It seems that it was due to muscle cramps of the upper abdomen with masturbation and the shortness of breath could have been due to panic attack because of the muscle cramps. You don't need to worry about it. Reassured.
You are welcome.