Term: begging
Example: the leftover pie on the counter went begging as it was left out overnight and spoiled
Definition: when something goes begging, it has gone unused or wasted