The motion for relief from stay only affects the creditor's right to proceed against the property that secures the debt. The creditor's right to be paid any deficiency after sale depends on the kind of bankruptcy. In a 7, no. In a 13, it depends on what the other unsecured creditors are getting.