To play pranks.

1

1859.  I believe I never did cut up so bad any one week as I did that week.—H. W. Beecher, ‘Notes.’ (N.E.D.)

2