I believe the top white wire is the neutral to the other lights. Reconnect the top white to the former switched receptacle, leave the top black wire taped and all should be good.
When EOT first came to NM, they had a vendor that sold root beer and other flavors. You could buy their bottle and get it refilled for a dollar.
Got a lot of refills.