Sutton reserve goalkeeper Wayne Shaw has agreed to resign from the club after eating a pie in the dugout during Monday's FA Cup defeat to Arsenal.
A betting row erupted as a result of the incident and manager Paul Doswell confirmed Shaw's departure on Tuesday afternoon.
Shaw was shown on television tucking into the snack towards the end of the 2-0 loss before admitting after the game he was aware that a bookmaker was offering odds on him to do so.
"Wayne has offered his resignation to the chairman this afternoon and that has been accepted.