To a large degree you can just stop paying your mortgage.
The biggest personal consequence is you will be evicted and lose both your place to live and any equity you built up.
The other main consequence is it will show up on your credit report for 7 years. Maybe some specific forms ask "have you ever been foreclosed on" in the future.