Box yourself in, To

1. To leave yourself with no options. 2. To put yourself in a position where you have no place to go.