My stbx is in the marital home. It is listed, but he has a hard time affording the payments. Can he force me in court to sell at a loss? What are his legal options? He petitioned the court for possession of the home, but I went ahead and gave him the keys and turned it over before it went to court. Is he stuck?

The home should not be sold at a loss, and your ex may try and seek contribution towards the mortgage from you pending sale.