Provide things to entertain the bird while you're gone and they should be fine. Have a look for some puzzle feeders or make one at home, and these will keep the bird occupied while you're out.