Take a look at the panel with three buttons in this area.
Those buttons are the key to getting out.
You just need to know the proper code.
The code was written down elsewhere in the Hive Caves.
On the first level, near the elevator, in fact.