SIXTH AMENDMENT TO AMENDED AND RESTATED LETTER AGREEMENT (with Borrowing Base)