If you invoke the "Unpin" command, you obviously want to select a pinned element. Therefore, Revit should automagically enable "Select Pinned Elements" if it is disabled.
I didn't make it clear above: Enabling Select Pinned should be temporary. It should be enabled only while the Unpin command is active and then should then go back to being disabled.