AMENDMENT NO. 6 TO FIRST AMENDED AND RESTATED FORBEARANCE AGREEMENT AND AMENDMENT TO CREDIT AGREEMENTS