Chonburi F.C.
In 2021, Terengganu F.C. decided not to extend Castanheira's contract and release him. Castanheira was in negotiations with Chonburi F.C. in Thai League 1 but discussions were unsuccessful due to the COVID-19 situation in Thailand. Castanheira signed a one-year contract with Royal Malaysia Police F.C., continuing in the M league.