How can I disconnect a lamp from the gateway?


You can do that simply by resetting the lamp: 
1. Turn on the lamps for at least 4 seconds. 
2. Cycling the lamps off and then on within 2 seconds for a total of four times. The lamps should be at full brightness, indicating a successful reset.