Section 103(3)(a) in The Merchant Shipping Act, 1958
(a)the agreement shall not be for a period longer than six months, but if the period for which the agreement was entered into expires while the ship is not in an Indian port, the agreement shall continue in force until the ship is again in an Indian port: