an eject mechanism for a module includes a module casing ; a module engaged in the module casing ; the module including a cable port ; and an eject button for allowing disengagement of the module from the module casing . the eject button prevents the module from disengagement when a cable is plugged into the cable port . a method of ejecting a module from a module casing includes disengaging the module from the module casing upon the pressing of an eject button , and preventing the module from disengagement when a cable is plugged into a cable port of the module .