They're not quite as separate as, say, Canada, Australia and New Zealand are. I believe that IoM's Defense and Foreign Affairs are handled from Westminster.
Anybody is free to secede, if they can cope with the obstructions.
A large part of their 'function' now seems to be tax avoidance schemes, though that is more prevalent in the Channel Isles.