yes - shorting against the box is used for tax purposes. If you have a gain that you want to lock in but defer the actual sale of, so as to change the timing of the taxable event, you go short an equal number of shares, then close out the short (generally in the next tax year) by delivering your original shares.
In other words, say I have a sizeable gain on 1000 shares of ABCD as of December 15 this year. I want to lock in that gain, but don't want the taxable event in this year. I contact my broker and go short against the box 1000 shares of ABCD. In January, I close out the short position by delivering my shares. This avoids a taxable event in 2006. Instead of paying taxes on that gain 4 months later than 12/15/06 (2006 taxes due April 2007), I pay them 16 months lare, in April 2008.
To some degree, this can also be used to lock in a gain that is short term but defer the actual sale until the position is a year old, and long term, though you have to spread the two transactions out enough to avoid a wash sale.