I’m sorry, but how can you forget that you are carrying a gun? If he were about to be robbed would he ‘suddenly’ remember he was carrying? These things are serious for serious use. He needs to get a good lawyer. He shouldn’t be expect to get his gun back or to have his carry permit back.
I don’t carry when I fly, and I still know everything that I packed and have in my carry-on luggage.