If you need to cancel your EIN Number, you need to mail a cancellation letter to the IRS.
We have instructions and the cancellation letter here: How to cancel an EIN.