Court hears how man abandoned home after robbery ordeal