Hamilton vows to stay