Well, Rule 17 applies, but there is the issue of proper course. At some point, the leeward/outside boat's proper course is to tack to go around that mark. As the inside/clear ahead boat, you're entitled to mark room per Rule 18.

In both cases, you are obligated to tack and round the mark, so if it comes out in a protest that you were sailing to Timbucktoo because your jib was jammed in a cleat, you might have a problem. Wind and sea conditions certainly play into any decision on whether you sailed too far before tacking, which is why I say it really needs to be heard in front of an experienced jury to get a more definitive answer.

I'm really tired, so someone else might be able to explain this better with some rule citations.

For those looking to learn the rules, there are some great online quizzes. The US Sailing and ISAF appeals and case books also have great diagrams and real stories with applicable rules. Tons of info there.

Mike