It is one of those times where you think why did I not think of that. Finally a good use for Amazon Dash buttons.
This guide shows you how to hack an Amazon Dash Button to shut down or reset your Raspberry Pi.
Source: Reboot or shut down your Raspberry Pi using an Amazon Dash Button