Luxembourg international Mahmutovic arrived in Somerset at the end of August on a season-long loan but has been recalled by Middlesbrough at the halfway stage of the 2018/19 campaign.
Making five appearances for the green and whites scoring once, the 21-year-old also added one international cap to his name in November.
Netting in the 4-0 win over West Ham United U21s in the Checkatrade Trophy, all at YTFC thank Enes for his efforts and wish him all the best in the future.
Patrick, who signed on a short-term loan from Bradford City in August, has completed his spell as a Glover and returned to Valley Parade.
Making 13 appearances for Town and scoring the winner on his debut at Grimsby Town, the 22-year-old vacates the number eight shirt at Huish Park.
Once again, all at YTFC wish Omari all the best for the future.