^ Mr. Adventure wasn't freaking out or "shatting".
He was just doing his duty when he correctly pointed out that nobody in Kirk's group had any ID or orders. That is why Uhura locked him in the closet - so he couldn't call for help or stop her in any way.
And also she did it so Starfleet would not suspect him of any wrongdoing.

And also she did it so Starfleet would not suspect him of any wrongdoing.