Does anyone know (code example) how I could close a menu?

I thought a UnManage would do that but than the Widget only dissappears.

Regards,

Marcel Stegehuis