Depending on the frame, it should only be 2 screws or pins holding the switch in place. Either way pull it so it can't be damaged in the process. Then take a nail set and lightly tap the pin out. The whole process should take less than 5 minutes.
WTB Dust black GX5 body