If you accidentally amended the return, follow the steps below to undo/cancel it. Pay close attention to each step.
NOTE: If you went back in and made any changes (added/removed something) to an already filed return, that would make it an amended return and you will need to print and mail that amended return since they can't be e-filed.
https://ttlc.intuit.com/replies/4170678