I came home on Monday and my oranges were rotting.
Did you leave the oranges there on purpose before they spoiled?  And you now hesitant to throw them away?
I thought they might be fine for a while
Fruit will naturally rot over time if it isn't used.  Even if you had gotten home earlier, they would still have spoiled, so you should just throw them out and try again.
I guess I can try again
Rotten fruit should be removed before it spoils the other fruits. They release gasses that speed up ripening and then the rot spreads even faster if you don't notice.