Hi,
You would need to review the guidance at RDR3 and undertake the statutory residence tests.
RDR3 Statutory Residence Test
You may find that you are not resident for tax purposes in the 2022 to 2023 tax year, but for 2023 to 2024, the current tax year that you are. You may need to complete a Self Assessment tax return, depending on the outcome of the residence tests.
Thank you.