Hey Nick0,
You don't have to pull the mast apart to do what Sausage suggested.. Just take the mast out of the sail, twist it around half a turn, and then put it back in. This will mean that the mast will 'want' to bend opposite to the way the sail will pull it, hopefully making it all become straight again.
But by 'kinked' do you mean you're using an aluminium mast? If so then buy a new one