SOLVED: Interrupt queuing

Say for example, a rising interrupt is used to increment a counter, if in the loop of a code the interrupt is detached to prevent another interrupt disrupting a calculation, then reattached - what happens if that interrupt pin goes high during the period it is detached?

The event is lost. There's no per-event queueing.

If not, is there any way to do this?

Write your interrupt handler(s) to be as small & fast as possible so these conditions won't occur. Set flags, push entries on a private stack or make entries in an array, etc. inside the interrupt handler to log the event, then have the main loop process the events as it can.

Good luck!