Do I need a renewal of my H-1B if my AOS application is pending?

While an adjustment of status petition is pending it is always wise to keep a detached legal status. In case of a denial of the adjustment of status application, you would remain in valid H-1B status. Otherwise you would lose legal status.