The switch tops on Cherry switches are very weak and easily deformed. It would appear that you pulled the slider hard enough to form an opening through which the retaining part of the slider could fit. Even if you could put it back together, the switch would be liable to falling apart. As such, like the others said, a replacement switch would be the best option.