See the long leg piece, against the wall, running along the floor? That is what keeps it all upright.
The U screwed into the back of the bookshelves keeps it steady.
This was a place to get a bar for the dressup clothes (posted a week or two ago) without taking up much extra room.

