Praise be to Allah.
It is not permissible to shave the beard or to remove any part of it, because the Prophet (peace and blessings of Allaah be upon him) said according to al-Sihaah: “Let your beards grow.”And there are other ahaadeeth; for more information see Question #1189.
There are pilots who have beards; having a beard does not prevent one from flying planes, whether they are civil or military. You should remember that a person will be resurrected as he died, so when you are resurrected in sha Allaah with the Messenger of Allaah and his Sahaabah and the believers, would you like to be beardless when they all have beards? May Allaah help you to do that which He loves and which pleases Him.