I hired a car and so only spent and afternoon/evening in Hakodate before moving on around lunchtime. Charming little place, but I agree with the above that four days is going to be too much if you wish to be actively sightseeing. If you want to just chill out with a little sightseeing spread across four days, then it would be grand.