Which issue to be specific? I can't find the scene when Dick Grayson decided to leave Batman
Well, according to the dubious Wikipedia.
Nightwing: Secret Files & Origins #1 and Nightwing: Year One tell the full post-Crisis version of how Dick Grayson gives up his identity as Robin (having been "fired" by Batman). - Nightwing, Wikipedia