Your next stop gets checked
An onward ticket to a country you can't enter doesn't meet the rule. GOV.UK pairs the ticket with a visa for your next destination. Flying back to New Zealand, a common onward route, means meeting New Zealand's own entry rules, including the NZeTA for visa-free visitors (see New Zealand).
31 days, then extensions
The visa-free stay is up to 31 days. Monthly extensions are possible up to a total of 5 months, but GOV.UK says to apply at least 2 weeks before your permit expires.
Leaving by sea
If you plan to join a yacht or other vessel to leave, GOV.UK says you must get permission from the Ministry of Foreign Affairs and Immigration. A sea departure needs arranging in advance.