It may be symptomatic dermatographism, a form of urticaria
. If it has subsided and does not occur again, then you need not worry much.
It is mostly idiopathic, and the cause is not ascertained most of the times.
In case it appears again, consult a dermatologist
Dr. Ajit Singh