You can unlink your Spotify account from a PS4 simply by logging out of the Spotify app, or unlinking it through the PlayStation website.
You should deactivate your PS4 so it's no longer associated with your account if you are selling or giving it away.
Choose the Xbox Game Pass subscription you want to cancel and select Cancel subscription. Then follow the steps to complete the cancellation. If eligible for a refund based on timing, you'll see ...