The effect of bankruptcy on your mortgage payments depends on which type of bankruptcy you file for. In Chapter 7 bankruptcy, your assets will be sold off to pay your creditors unless they fall under an exemption in Maryland bankruptcy law.
At the conclusion of the Chapter 7 bankruptcy process, you would either no longer have your house because the trustee sold it to repay creditors, or you would still have your mortgage and a small amount of equity in the house (see the exemptions in the next question). If you file for Chapter 13 bankruptcy, you will be able to keep your home, but you are also obligated to repay your debts over time. In this case, you would continue to make payments to your mortgage lender, and you would continue to own the house.