You knock the soldier out and use him as a hostage. By using him as a hostage, you manage to get the SWAT team to give you a SWAT van and some weapons, and allow you to get away.
Congratulations! You have escaped from Bob's Psych Ward. YAY!