Looks like a push pin. To get it all the way back in you have to pull out the smaller (inside) piece first, then push the larger piece flush, THEN insert the small piece flush.
Hopefully that makes sense.
This video might help explain. Note that some will let you separate the tiny pin entirely and some won't. You don't need the tool, you can usually pry out the smaller part with a flathead.