Liverpool have ended Nuri Sahin's disappointing loan spell, allowing him to rejoin Borussia Dortmund.