This usually occurs when the window binds on the way up. Its a safety feature that is built in the system to prevent little heads from being cut off. The window will automatically roll back down. Clean the channel and lube with a quality silcone or other lube that is made for that type of material.
92 Volvo 740 Wagon aka "Mutt mover"