Unfortunately, MD is one of the states not accepting an efile amended return. You will have to paper mail the return. There is no danger of a federal being filed.
Mail the return with some sort of tracking so you can be sure it has arrived safely and you have proof of mailing it.
Related: Can I e-file my amended state return?
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"