Got stuck in a parking lot that was on a really steep grade (side of a mountain) this weekend. Felt like the bikes were possessed when attempting turns.

It was close to impossible to keep them from heading downhill.
I found that stopping and turning my bars towards the top of the hill was the only way to get myself going that direction. It was ugly but it was better than the alternative, a drop or crashing into a car.
Any tips or suggestions for this sort of situation (other than "don't go there"

)?