Normally with a thin trim tool, there should be a small patch of double sided tape holding it on. This will need renewing when fitting back in the wing.
Should be easy enough to dry out and then reseal.
When disconnecting the plug make sure you attach some string first, if it falls inside the wing it’s hard to fish out again.