How can I remove an item from the menu without actually del

How can I remove an item
from the menu without actually deleting it?   Just like closing a folder, I would like to remove an entry from
the list, but show it again later.

Bit of tricky. There is no
such native functionality, but I can provide a code which will hide item by Id,
but because of tree design, after closing and opening parent item - it will be
visible again (so it can be used effectively only with top level items).