He wanted a sausage roll but stopped an armed robbery instead