Around 300 migrants give up their desperate struggle to walk to the Hungarian capital