Labour's 2024 general election manifesto included a commitment to ban all new exploration in the North Sea.