Hey, I understand this might be very troublesome for you and you might be scared also to take long flights because of this.
Shy Bladder can happen due to 2-3 reasons. It might be due to social anxiety, or it could be sometimes due to getting fear of closed spaces or sometimes it could also be due to fear of heights.
Sometimes, there are some hidden medical reasons too.
Next Steps
You should Consult the Psychiatrist about this, after assessing if there is a need for some short term medications or therapy or to referral to urologist, your Psychiatrist will guide you accordingly
Health Tips
This situation can be managed. So, don't fear this and take help