The ownership of Trademark does not affect with franchise Agreement.
In case of a franchise agreement, the franchisor having registered trademark must state the word marks/symbols in the agreement. Also, mention the prohibition the usage of the trademark by franchisee post-termination of the franchise agreement.