Have you got a master electricity switch for the system? Or failing that in extremis you could turn off the gas at the mains until the pilot light burns out then switch it back on. Might give you a chance to shut the boiler down.
(PS I take no responsibility if you blow your house up!)