My daughter recently had this. She had an unscheduled layover. I think it was New York. She planned to just crash in the terminal but security kicked everyone out of the terminal and made them sleep on the floor at baggage claim.
Of course there were lights, TV blaring etc all night. Baggage claim is also a non-secure environment unlike the terminal.
Ugh. I’ve not had that happen. Was the entire airport shut down?