You can delete folders in Yahoo Mail right from your inbox's left-hand sidebar under the "Folders" label.
To delete an email account on your iPad's Mail app, open the "Passwords & Accounts" section of the Settings app.
Removing an email account does not delete it forever. It's still accessible from other devices. Alternative options include disabling the account or hiding new email alerts. This article explains how ...