MB3 9b: Conditional Loan or Rental to a Gentile to Work an Animal on Shabbos - Part 1 (246:3)

What if the non-Jew fails to return the loaned or rented utensil or animal before shabbos, how do you avoid the prohibition of shevitat behemto?