Bankruptcy may be an option, but I would have to look at my total debts and see if a BK 7 or BK 13 would be my best solution. If I was going this direction I would absolutely consult with a local BK Attorney first.
If I just move out of my house and give it back to the lender I would be doing a deed in lieu of foreclosure. There are some benefits to doing a deed in lieu, but it will depend on my lender and my state. This is something I would speak to my lender about to get more information or a local Real Estate Attorney.
The fourth option I would look at is listing my house on a short sale.
Every option is difficult and I would take a lot of time weighing all of my options and consulting experts in each area. No matter what I would be in contact with my lender.