The original route is blocked by sparks, but there are two alternative ways back. After going down through the blue door, you either head left to fight a robot, or down and left through the pooltoy rooms.
After the first lever door, you’ll have a gun and enough ammo to kill the robot, with extra ammo scattered around the map. Alternatively, you become a pooltoy in the four terminal room and use a medkit to revert afterwards.
Both routes lead back to the blue door next to the first pooltoy room, and from there to the original area.