Chances are the ticket will stick but in the off chance you get lucky, go in and plead your case to the Judge telling them that you were only there for a minute and your friend was coming right out...