MB3 40b: What to Do if You are Carrying Something and Shabbos is About to Begin (266:1-2)

What do you do if you are carrying something & Shabbos is about to begin? Placing the item on a rented animal or an animal you own.

Giving the item to a non-Jew.