Mortgage foreclosures
In court-run (judicial) states, the surplus usually sits with the court clerk. In trustee-sale states, the trustee or a county office holds it. Depending on the state, it's claimed with a sworn claim form or a motion before a judge.