U.N., aid groups appeal for Afghanistan funding, vow to stay