Heavily armed man proposes to girlfriend after being sprung