If they are like any other free email provider, you'll find that Yahoo will probably run automated processes every few months to purge accounts that have not been logged into for a few months.
Also, have you not discovered the disposable email address feature in Yahoo ? Saves you managing multiple logins if you just want email addresses to give away in places.
Alternatively, if you had tried to google "how to close yahoo account", you would have found
this page.