Attended the conceal and carry class just haven’t got physical copy of the permit but got my gun taken by police

This past weekend I was out with friends, one of my friends drank too much and ended up causing a huge scene at a private residence, however the incident happened on the suburb street, the police were called and because I was involved in trying to calm him down, and admitted to having a concealed firearm to be as honest as possible because the situation had become very volatile with my drunken friend. The cops had me hand over my gun for it being concealed, the thing is I have taken the class and am registered but was going this Friday to physically pay at the court house for the permit. I have court and am wondering should I still go ahead and pay for the permit despite having my gun taken. Please go somewhat easy on me, I need my gun for my job and didn’t expect the drunken escalation that happened this weekend, it was supposed to be a fun superbowl hang out, seeking any advice thank you.