The lawyer bookcase has glass doors that slide up over the books. I am attempting to remove the door to replace the glass on one of the shelves.
Top shelf with the door in the retracted position:

Detail of the door with wooden pin into the groove on the side wall.

Detail of the groove in the side wall from inside.

How is the door removed?