Hi Chris,
Is this dedicated server on a yearly lease? If so, then you could choose to switch to a monthly payment period so you could get rid of it when you wanted to. However, If you're looking to get rid of it and let the lease expire, then it's probably better to just let it expire.
If you're looking to see if you can make a profit off of that server within these last two months prior to expiration, you could offer this as a dedicated server to customers, maybe as an initial promotional price to a customer?
Alternatively, if you're already selling shared or reseller hosting services, you could add that server to your existing setup to increase your hosting offerings.
Hopefully that helps!