user: Question: What team did the manager come from who departed due to an End of tenure as caretaker?
Columns: ['Team', 'Outgoing manager', 'Manner of departure', 'Date of vacancy', 'Replaced by', 'Date of appointment', 'Position in table']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['VfL Osnabrück', 'Claus-Dieter Wollitz', 'FC Energie Cottbus purchased rights', '30 June 2009', 'Karsten Baumann', '1 July 2009', 'Pre-Season']
SQL:

assistant: SELECT "Team" FROM "Table" WHERE "Manner of departure" = 'End of tenure as caretaker';