You can appeal the denial of the H-1B but unless you are in another US immigration status an appeal will not stay your accrual of unlawful status. If it has not been 180 days since the H-1B was denied, you may want to discuss departing the US with your attorney in order to avoid an unlawful presence bar.
Answered on Nov 21st, 2012 at 4:05 PM