If your Yahoo account information is potentially exposed, then deleting your Yahoo account when you aren't using the service any longer is a smart idea. It prevents hackers from abusing your account and any other accounts you have registered with the @yahoo.com email address.