It is a bifold....you have to slide the first portion away from you whilst also rotating it upwards, it then disengages from the front rails and you can fold the front part over the top part....
To remove it, to the above, then slide the whole shelf toward you until it disengages from the retaining rails and lift out.
View attachment 191579 View attachment 191580