XXDF is correct. The I-131 states clearly that you are granted permission to come back to the US as your I-485 pending before you leave the US. If you leave the US before the permission is granted, you abandon your I-485.